Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

CSS -horizontal tab style for child elements

0 votes
added Jan 30 in CSS by LC Marshal Captain (23,720 points)
.tab_btn {
	background: #fff;
	color: $color_dark_new;
	border: 1px solid $color_highlight;
	padding: 15px;
	font-weight: 500;
    font-size: 1.5rem;
    text-align: center;
    &:nth-child(2) { 
    	border-right: 0;
	&_active {
		color: #fff;
		background: $color_highlight;


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.