Highlight your Headings


Design your blog post of blogger to make it beautiful using HTML/CSS.

Here you will get the source code of Heading Highlight. It is straightforward so let's get started.

Source Code:-

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="style.css">
    <title>Document</title>
</head>
<body>
    <span class="banner1">Step 1</span>
    <span class="banner2">Lorem ipsum dolor sit amet consectetur adipisicing elit. Non modi illum odio illo architecto ipsam! Sapiente quas incidunt amet sed at quasi eos? Est explicabo debitis iste perspiciatis tenetur eveniet?</span>
</body>
</html>


CSS


.banner1{
    background: #6ab04c;
    color: #FFFFFF;
    padding: 10px;
    margin-right: -4px;
    text-transform: uppercase;
    font-family: unispace;
}
.banner2{
    font-family: unispace;
    background: #4C4B4B;
    color: #FFFFFF;
    padding: 10px;
    text-transform: uppercase;
    line-height: 2.6;
}