About CSS

Introduction To CSS

CSS is an abbreviation of “Cascading Style Sheets” and it consists of a selector and a declaration block. HTML can give some possibilities of shaping up your text on your website. CSS can even carry that step a lot further, by letting you make changes on a scale from micro to macro with more control. This includes; size, font, color, and many more specific attributes, that can be played with. While it can vary sometimes, mostly on a website, you won't see too many changes in fonts or colors, but this isn’t what only CSS can offer. You can apply the format of your text to all web pages automatically, which is also beneficial after an update where you need to change every single page one by one this will update them according to your desire.



Information On Cascading Style Sheets

There are things you may need to know if you are dabbling with this area for the first time, there are many things you can’t do with HTML, that CSS offers a solution or option to solve. CSS can help you with, as a random page’s background, color or scale to be made a specific unit or position. CSS codes are coded inside of HTML codes. It can be chosen to be in the form of coded as Body or Head.

It has an easy to learn language structure, that you wouldn’t have any difficulties while learning. At this point, if you are considering learning CSS, at least be at a basic level of HTML to not get completely lost in the language. CSS as in every coding system using English and requires at least knowing the keywords meaning and what the various style properties do.


Categorizing And Positioning A Cascade

There are 3 types of CSS, internal CSS controls a webpages general overlook. External CSS how all pages would look on a website. Inline CSS controls a single part on a single page. There can be more than one, and each one of them refers to the next one. As you go micro it gains power over the macro, due to how it works, inline invalidate internally, internal invalidates external, and they both invalidate browser default CSS. This is the reason it is called a cascading style.

A Cascading style of text and coding must have orders or positioning plans to follow CSS 2.1 has 3 positioning plans;


Normal Flow

All of the inline items are laid out like the same way as in words in a text, one comes after another until they run out of space, then starts a new line one line below. Block items stack vertically, such as paragraphs and like an item in a bulleted list.


Floats

It is an item taken out of the normal flow, then shifted to the very end of either left or right as much as space lets you send it. The context follows floated items and continues from it.


Absolute Positioning

An absolute positioned item does not affect nor have a place, on the normal flow of the positioning. It happens to be in its assigned position in its container in total independence than other items.