CSS Grid systems

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

CSS Grid systems

Post by Sindarin »

I've come across the so called CSS "grid systems" which are mostly included in frameworks, but if I understand the concept correctly I am not sure it works very well.

Imagine this scenario,
We have a site made, the client wants to change the padding of two specific elements on his page, the site contains around 50 .php files with those elements inside each page (maybe because the template changes from page to page but the elements/boxes etc remain the same, just their position changes)

Wouldn't it be faster if I have used a class for each of them so I could change the padding CSS attribute for .white-box and .yellow-box than changing the CSS class from .push-30 to .push-20 for both elements in all the .php files? Wasn't that the purpose of CSS? 8O

I'd like to hear your take on this.
Last edited by Sindarin on Sat Apr 30, 2011 12:39 pm, edited 2 times in total.
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: CSS Grid systems

Post by Weirdan »

Couple a grid system to some css extension like lesscss that allows you to inherit css declaration (in a traditional sense, not in css way) and it will suddenly look much more appealing.
darek
Forum Newbie
Posts: 8
Joined: Tue Apr 19, 2011 2:26 am
Location: Opole, Poland

Re: CSS Grid systems

Post by darek »

CSS Grids are pretty much useless. Basically what it is, is just pre defined classes.
Post Reply