Just noticed that a joomla site has the following code:

[class*="span"].pull-right,
.row-fluid [class*="span"].pull-right {
        float: right;
}

Is this correct especially th items in square brackets?

I thought the easiest way is to write something like this:

span.pull-right,
.row-fluid  {
        float: right;
}
Why are they using square brackets?
                                          
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to