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

Untitled

By: a guest on Jun 10th, 2012  |  syntax: None  |  size: 0.48 KB  |  hits: 24  |  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. CSS to reference another CSS
  2. .t-button
  3. {
  4.     border-color: #a7bac5;
  5.     color: #333;
  6. }
  7.        
  8. button, input[type="button"], input[type="submit"]  
  9. {
  10.   /*apply "t.button" */  
  11. }
  12.        
  13. .rounded-corners (@radius: 5px) {
  14.   border-radius: @radius;
  15.   -webkit-border-radius: @radius;
  16.   -moz-border-radius: @radius;
  17. }
  18.  
  19. #header {
  20.   .rounded-corners;
  21. }
  22. #footer {
  23.   .rounded-corners(10px);
  24. }
  25.        
  26. .error {
  27.   border: 1px #f00;
  28.   background: #fdd;
  29. }
  30.  
  31. .badError {
  32.   @extend .error;
  33.   border-width: 3px;
  34. }