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

CSS -horizontal tab style for child elements

0 votes
7 views
added Jan 30 in CSS by LC Marshal Lieutenant (18,470 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;
    &:first-child,
    &:nth-child(2) { 
    	border-right: 0;
    }
	&_active {
		color: #fff;
		background: $color_highlight;
	}
}

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...