Tag Archives: absolute

Pseudo-elements

Tip: Pseudo-classes are with one colon. Pseudo-elements are written with two colons. By default, any pseudo-element is an inline element. Example to un-italicize and give some space to a book emoji in a h1 element: h1::first-letter { font-style: normal; margin-right: … Continue reading

Posted in Web Developer Course | Tagged , , , , , , , , | Leave a comment

CSS Theory #5: Absolute Positioning

To get a button to be always at the bottom right side of your page you need to: (example of a button) button { font-size: 22px; padding: 20px; cursor: pointer; position: absolute; bottom: 50px; right: 50px; } (And also change … Continue reading

Posted in Web Developer Course | Tagged , , , , , | Leave a comment