0
How to float icon or text in vertical?
I am learning html css but yet semi skilled can you please give me an example, how its done like marquee but vertically both side in webpage?
1 Respuesta
+ 5
you could use padding, set the first value to the vertical spacing you want and the second would be the horizontal spacing
CSS:
.marque {
padding: 16px 32px;
}
HTML:
<div class="marque">
<span>My Marque</span>
</div>