div css display block code example
Example 1: display: block;
p.secret {
display: block;
}
Example 2: is display-block a class
<span class="d-block p-2 bg-primary text-white">d-block</span>
<span class="d-block p-2 bg-dark text-white">d-block</span>