Monday, October 26

What are CSS properties

For beginners, there are some questions that What are CSS properties, and how to you use them? Am i right ?

CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web pages all at once.

The property is the color piece of this declaration. It dictates which aspect of the selector will be changed visually. The value is what the chosen CSS property will be changed to. In our example, we are using the hex value of #000, which is CSS shorthand for “black.”

Simple example of css property:

CSS Values:

CSS values are set against CSS Properties and reside within CSS declaration block, which is a part of the CSS rule / statement. CSS 2.1 allows following types of values : Integers and real numbers, Lengths, Percentages, URLs and URIs, Counters, Colors, Strings, Unsupported Values

We can define the cell padding of table cells, the style, thickness, and color of a table’s border, and the padding around images or other objects.¬†CSS¬†gives Web developers more exact control over how Web pages will look than HTML does.

Without CSS Property, we can not develop website. CSS help us widely to change layout of page. To create responsive website you must use responsive CSS properties.