If I prefer semantic naming then shouldn't i use any CSS Framework and grid approach?
If I prefer semantic naming then shouldn't 开发者_StackOverflowi use any CSS Framework and grid approach?
Which approach is better Grid or Freehand?
Is any CSS Frameworks really can save time and make semantic code even for Experienced CSS developer?
Many CSS Frameworksd are popular in static PSD 2 XHTML+CSS conversion and in wordpress/drupal/joomla theme development.
Can we make CSS XHTML development as faster as with CSS frameworks but without using CSS Grid Frameworks?
What makes development with CSS frameworks faster which we can't do without frameworks?
Semantically named classes are a particular pet-peeve of mine, so the approach I adopted was using 960 Grid System and Sass. The grid system reduces the time I spend creating the layout while Sass allows me to simulate inheritance by using mixins. Something like:
=grid_19
width: 750px;
#main-content
+grid_19
In this example, #main-content
inherits the properties of .grid_19
, it's a div with 750px of width (19 columns) with a semantic id. Sure I had to adapt the grid system's CSS to use it with Sass, but once it was made I can reuse its declarations without having to use its non-semantic class names.
I didn't tried any other CSS framework or grid system. I prefer grid systems over doing it by freehand because it's easier and faster. What makes development with CSS frameworks faster? Well, it's already done. I don't need to reinvent the weel. :)
精彩评论