css
CSS Borders
CSS Borders The CSS border properties allow you to specify the style, width, and color of an element's border. I have borders on all sides. I have a red bottom border. I have rounded borders. I have a blue left border. CSS Border St…
css
CSS background - Shorthand property
CSS background - Shorthand property To shorten the code, it is also possible to specify all the background properties in one single property. This is called a shorthand property. Instead of writing: body { background-color : #ffffff …
css
CSS background-attachment
CSS background-attachment The background-attachment property specifies whether the background image should scroll or be fixed (will not scroll with the rest of the page): Example Specify that the background image should be fixed: body …
css
CSS Background Image Repeat
CSS Background Image Repeat CSS background-repeat By default, the background-image property repeats an image both horizontally and vertically. Some images should be repeated only horizontally or vertically, or they will look strange, …
css
CSS Background Image
CSS Background Image CSS background-image The background-image property specifies an image to use as the background of an element. By default, the image is repeated so it covers the entire element. Example Set the background image for…
css
CSS Backgrounds color
CSS Backgrounds The CSS background properties are used to add background effects for elements. In these chapters, you will learn about the following CSS background properties: background-color background-image background-repeat backgro…
css
CSS Colors
CSS Colors Colors are specified using predefined color names, or RGB, HEX, HSL, RGBA, HSLA values. CSS Color Names In CSS, a color can be specified by using a predefined color name: Tomato Orange DodgerBlue MediumSeaGreen Gray SlateBlue…