css selectors - Multiple classes in body tag, multi-dimensional css structure or blueprint for insanity? -
This question is about an approach to CSS structure, and so much more discussion oriented.
I am working with some outsourced CSS where there are many classes near the body tags, which are up to half a dozen (to make things a little worse, any of the CSS selectors will have an HTML tag Which is confusing it in analyzing CSS.) These body sections are then used to modify classified or IDEED widgets.
It seems that this approach is like adding an additional dimension to CSS, perhaps in some effort to create a structured CSS approach, documentation may have helped, none has been provided to us.
This is different from my point of view where widgets are mainly styled through id'd divs, perhaps extracting more general elements into one square, i.e. div # MyWidget.widgets
Whether or not such an approach is worth using, especially I am working with thousands of pages from websites, which include many legacy goods, by different people with different skill levels. goes? Thank you ...
I do not think anything particularly wrong with this approach, provided you Originally using body tags, in order to implement very common-style rules, the class is in the upper DOM above, and should be more general.
It is difficult to answer especially without an example. For relatively small sites, I often want to change the URL segment into sections of body tags in my pages:
// mysite.com/users/show/
< P> I use almost exclusively to override the default style on very specific pages: #content {width: 500px;}. Show ads # Materials {width: 600px ;}
Comments
Post a Comment