Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
http://anythymecateringlv.com/
#5
kuopassa Wrote:A bit unrelated but I saw this block of CSS code in Any Thyme's source:

+.col-split{
float: right;
}

What does that plus symbol do? Is it some new CSS3 feature? I've never seen one used despite having years of experience with CSS and such things.
It means that +.col-split styles should be assigned for next item, after the one with class="col-split", that contains same class. But such styles should be assigned for a child of fixed element, for example div + div.col-split, as it will be assigned for first <div class="col-split"> inside <div>. But then we have a first-child pseudo class which is much better solution...
Ehh, playing with css ...
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
http://anythymecateringlv.com/ - by an8dres26h - 2012-07-31, 08:46:35
http://anythymecateringlv.com/ - by giggty - 2012-08-01, 07:52:00
http://anythymecateringlv.com/ - by connellhunte - 2012-08-04, 00:14:26
http://anythymecateringlv.com/ - by kuopassa - 2012-08-09, 06:46:31
http://anythymecateringlv.com/ - by yojoe - 2012-08-09, 07:18:23
http://anythymecateringlv.com/ - by kuopassa - 2012-08-09, 14:26:46



Users browsing this thread: 1 Guest(s)