css text
text-align: center, right, left, justify, start, end;
font-weight: lighter, 100, normal, 400, bold, 700, bolder, 900;
text-decoration: wavy, dashed, dotted, double, solid, underline, line-through, overline;
text-decoration: underline red;
line-height: normal;
letter-spacing: 2;
font-size: 100px;
font-family: 'Courier New', Courier, monospace;
css zmeniť farbu textu
p{
color: White;
}
Farba textu css
.YourClass {
color: #ff0000;
}
písmo css
@font-face {
font-family: "Name of the font"; /*eg Ubuntu*/
src: url("your/path/to/the.font");
}
p{
font-family: "Ubuntu";
}
css ako zmeniť písmo colr
html {
color: #f3f3f3;
font-family: cursive;
font-size: 25px;
}
ako zobraziť text v css
display: inline-block;