<header>
<div class="title">
<h1>Belajar SASS</h1>
<span class="slogan">Gampang bangeett!!</span>
</div>
</header>
.title {
border: {
top: 4px solid black;
bottom: 4px solid black;
}
text-align: center;
padding: 60px;
font-family: sans;
.slogan {
font-size: 18px;
color: rgba(0,0,0,0.3);
}
}
View Compiled
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.