CSS – Colors

CSS – Colors

Following table lists all the possible formats − CSS Colors – Hex Codes CSS Colors – Short Hex Codes CSS Colors – RGB Values Building Color Codes CSS Colors – Hex Codes The first two digits(RR) represent a red value, the next two are a green value(GG), and the last are the blue value(BB).  6 digit representation of a color. CSS Colors – Short Hex Codes An shorter form of the six-digit notation. In this format,…

Read More

CSS – Measurement Units

CSS – Measurement Units

Brief idea about the CSS Measurement Units. CSS supports units such as inches, centimeters, points, and so on, as well as relative measures such as percentages and em units. You need these values while uses various measurements in your Style rules e.g border = “1px solid blue”. Examples Unit Description Example % Defines a measurement as a percentage relative to another value, typically an enclosing element. p {font-size: 16pt; line-height: 125%;} cm Defines a measurement…

Read More

Inclusion in CSS

Inclusion in CSS

more than one way to add a Cascading Style Sheet (CSS) to the HTML document. CSS in Three different Ways include separate CSS file link The link is just a simple line of HTML that you put in the section of your HTML document, See the sample one below Internal Style Sheet Inline CSS to HTML tags Importing CSS file others interesting way to add CSS to a HTML page is with the import rule.

Read More

CSS – Syntax

CSS – Syntax

The basic syntax that that you can use to apply CSS to any website. CSS syntax consists of a set of rules. These rules have 3 parts: a selector, a property, and a value. Grouping Selectors Apply a style to many selectors if you like. Just separate the selectors with a comma. Uses Multiple Properties Apply more than one property separate each declaration with a semi-colon. Readability CSS code more readable by spreading your style declarations…

Read More

What is CSS?

What is CSS?

css is designing the language and also to the Web page are used. html css designing you can. The major points of CSS are given below: CSS full name Cascading Style Sheet. CSS  design HTML tags. CSS is a main used language in the web. CSS  are used for web designing. It helps the web designers to apply style on HTML tags.

Read More
1 2