CSS stands for CSS Cascading Style Sheets CSS allows you to specify different style attributes for given HTML elements such as colors, backgrounds, fonts etc.
CSS handles one and feels part of a web page. Using CSS, you can set the color of the text, the style of fonts, the space between the paragraphs, how to shape and exclude the columns, what background images or colors are used, layout design, different devices and screens Can control variations in the performance of sizes. There are also many other effects as well.
- Selectors
- Box model
- Backgrounds and boundaries
- Image values and replaced content
- Text effect
- 2D / 3D Transformation
- Animation
- Multiple column layouts
- user interface
CSS Syntax
Example -
h1 {
color: blue;
text-align: center;
}
color: blue;
text-align: center;
}
H1 The above example has a selector, color and text alignment properties, and blue and center have corresponding values of these properties.
<!DOCTYPE html>
<html>
<body>
<style>
div {
border: 1px solid black;
}
</style>
<div> Style This! </div>
</body>
</html>
0 comments:
Post a Comment