CSS Text
CSS has a lot of properties for formatting text.
text formatting
This text is styled with some of the text formatting properties. The heading uses the text-align, text-transform, and color properties.
The paragraph is indented, aligned, and the space between characters is specified. The underline is removed from this colored
"Try it Yourself" link.
Try it Yourself »
Text Color
The color property is used to set the color of the text.
The color is specified by:
a color name - like "red"
a HEX value - like "#ff0000"
an RGB value - like "rgb(255,0,0)"
Look at CSS Color Values for a complete list of possible color values.
The default text color for a page is defined in the body selector.
Example
body { color: blue;}
h1 { color: green;}
Try it Yourself »
Text Color and Background Color
In this example, we define both the background-color property and the color property:
Example
body { background-color: lightgrey; color: blue;}
h1 { background-color: black; color: white;}
div { background-color: blue; color: white;}
Try it Yourself »
Important: High contrast is very important for people with
vision problems. So, always ensure that the contrast
between the text color and the background color (or background image) is good!
The CSS Text Color Property
Property
Description
color
Specifies the color of text
★
+1
Reference: https://www.w3schools.com/css/css_text.asp
CSS Text
Re: <t>CSS Text</t>
Ich konnte neulich in Dresden absolut nicht einschlafen und habe nach etwas gesucht, das mich ablenkt. Durch Zufall sah ich einen Banner für Live-Casinos. Kurzentschlossen besuchte ich play jonny und setzte mich an einen virtuellen Baccarat-Tisch. Es war meine erste Erfahrung damit. Zuerst habe ich Lehrgeld bezahlt, aber ich blieb geduldig. Irgendwann hatte ich den Dreh raus und das Glück auf meiner Seite. Als ich endlich müde wurde, war mein Kontostand deutlich höher als am Anfang. Manchmal lohnt es sich, wach zu bleiben.