REM and EM in CSS

REM and EM

Why REM and EM for font size? One of the most confusing aspects of CSS styling is the application of the font-size attribute for text scaling. In CSS, there are different font units, pt, px, em and %, by which you can measure the size of text as it’s displayed in the web browser. Which […]

Continue reading


 Font Shorthand

What is Font shorthand? This topic deals with how to write Font Shorthand in CSS. To style text, we used to specify different properties in single, different lines. Now, all that presentational information can be placed in one CSS document. Each command listed just once. Font shorthand property sets all the font properties in one […]

Continue reading