Thanks to everybody for sharing their knowledge about this and for enlightening me!!.. I have learned something new today and I will never forget this ever again. There is a lot reading to be done.



-----Original Message----- From: John D
Sent: Wednesday, August 13, 2014 11:49 PM
To: css-d@lists.css-discuss.org
Subject: [css-d] CSS code - is this right?

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?

-----Original Message ends-----
______________________________________________________________________
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