Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 30th, 2012  |  syntax: None  |  size: 0.84 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. re formatting css - collapse redundant paths?
  2. /* example one: different attributes */
  3. div#main_work > div.main_work table.data td span.rating,
  4. div#main_work > div.main_work table.data td span.follow
  5.    { white-space: nowrap; vertical-align: center; }
  6.  
  7. /* example two: same upstream, different downstream */
  8. div#main_work > div.main_work > form table,
  9. div#main_work > div.main_work > table,
  10. div#main_work > div.main_work div table
  11.    { width: 100%; margin: 0px;  -moz-box-sizing: border-box; box-sizing: border-box; }
  12.        
  13. /* example one: different attributes */
  14. .main_work .rating,
  15. .main_work .follow
  16.    { white-space: nowrap; vertical-align: center; }
  17.  
  18. /* example two: same upstream, different downstream */
  19. .main_work table,
  20. .main_work form table,
  21. .main_work div table
  22.    { width: 100%; margin: 0px;  -moz-box-sizing: border-box; box-sizing: border-box; }