|
Css rang berish usullari, chegara, orqa fon, shrift, margin va padding xususiyatlari. Box model tushunchasi. Box model qoidalari
|
tarix | 03.05.2023 | ölçüsü | 85,05 Kb. | | #106779 |
| Web amaliyot 5
CSS rang berish usullari, chegara, orqa fon, shrift, margin va padding xususiyatlari. Box model tushunchasi. Box model qoidalari.
rgb(255, 0, 0)
rgb(0, 0, 255)
rgb(60, 179, 113)
rgb(238, 130, 238)
rgb(255, 165, 0)
rgb(106, 90, 205)
#ff0000
#0000ff
#3cb371
#ee82ee
#ffa500
#6a5acd
The second parameter of hsl() defines the saturation. Less saturation mean less color. 0% is completely gray:
hsl(0, 100%, 50%)
hsl(0, 80%, 50%)
hsl(0, 60%, 50%)
hsl(0, 40%, 50%)
hsl(0, 20%, 50%)
hsl(0, 0%, 50%)
style = "text-transform:capitalize;">
This will be capitalized
style = "text-transform:uppercase;">
This will be in uppercase
style = "text-transform:lowercase;">
This will be in lowercase
style = "text-shadow:4px 4px 8px blue;">
If your browser supports the CSS text-shadow property,
this text will have a blue shadow.
Dostları ilə paylaş: |
|
|