Blog coding and discussion of coding about JavaScript, PHP, CGI, general web building etc.

Monday, January 18, 2016

What is a CSS framework?

What is a CSS framework?


Can anyone tell me about CSS frameworks, and how to use them?

Answer by Pekka ? for What is a CSS framework?


From Wikipedia:

A CSS framework is a pre-prepared library that is meant to allow for easier, more standards-compliant styling of web pages using the Cascading Style Sheets language. Like programming and scripting language libraries, CSS frameworks are usually incorporated as external .css sheets referenced in the HTML . They provide a number of ready-made options for designing and laying out the web page. While many of these frameworks have been published, some authors use them mostly for rapid prototyping, or for learning from, and prefer to 'handcraft' CSS that is appropriate to each published site without the design, maintenance and download overhead of having many unused features in the site's styling.[29]

There is a lot of material on SO (which framework to use, whether to use one at all....)

Answer by Barrie Reader for What is a CSS framework?


CSS framework is a "wrapper" for all the styles and layouts on your Mark-Up (HTML etc) pages.

An example would be: http://www.blueprintcss.org/

Answer by Tom for What is a CSS framework?


CSS frameworks address some or all of the following aspects:

  1. Browser reset. This brings all browsers back to the same baseline styles so that you don't get surprised by something rendering differently in different browsers.

  2. Layouts. They can provide pre-prepared styles that allow you to achieve certain layouts in a simple way. These include columns and also grid layout techniques.

  3. Design. Some provide colour schemes, font selections, typography (line spacings etc.) to quickly give your page an appealing design.

Answer by Paul D. Waite for What is a CSS framework?


CSS frameworks are just CSS files. They provide pre-written CSS that you apply to your HTML by using the class names defined by the framework in its CSS file.

  • Some frameworks are focused on one particular task, e.g. page layout. 960.gs is a good example of this.
  • Some frameworks are more extensive, and include pre-written CSS for typography, form layout, print styles etc. Blueprint is a good example of this.

Some frameworks also include reset styles, which attempt to reset all styles for all HTML elements to very neutral defaults. These are automatically applied to all HTML elements, so you don?t add classes to your HTML to apply them. A lot of them are based on Eric Meyer?s CSS reset.

Answer by Simon_Weaver for What is a CSS framework?


Important to realize that you can mix and match - as long as you're careful.

For instance I don't particularly like YUI's Grid framework (not flexible enough for what I need) - and I don't particularly like Blueprint's typography (because I don't understand what it's doing and I think it's trying to do too much).

So I'm using YUI CSS Reset with YUI Typography and Blueprint grids !

Answer by John Slegers for What is a CSS framework?


CSS frameworks are pre-prepared libraries that are meant to allow for easier, more standards-compliant styling of web pages using the Cascading Style Sheets language.

For more info on how to use each framework, please consult the official documentation of that framework.

Examples of popular CSS frameworks :

Answer by Onikah for What is a CSS framework?


Predefined functionality that has been created intended to serve as a guide for building of something useful. There different frameworks with different functionality often a (programming tools)layered structure indicating what kind of functionality can be built and how they would work.


Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72

0 comments:

Post a Comment

Popular Posts

Powered by Blogger.