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

Untitled

By: a guest on Dec 5th, 2011  |  syntax: None  |  size: 1.43 KB  |  hits: 73  |  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. /****** HTML ******/
  2. <!doctype html>
  3. <head>
  4. <title>css3pie Test</title>
  5. <link rel="stylesheet" type="text/css" href="css/css3pietest.css">
  6. <!--
  7. <link rel="stylesheet/less" type="text/css" href="css/css3pietest.less">
  8. <script src="js/less.js" type="text/javascript"></script>
  9. -->
  10. </head>
  11. <body>
  12. <div id="box1">
  13. <p>this is box one</p>
  14. </div>
  15. <br />
  16. <div id="box2" class="insetShadow">
  17. <p>this is box two</p>
  18. </div>
  19. <br />
  20. <!--[if gte vml 1]>Yay, VML!<![endif]-->
  21. <![if !vml]>Boo, no VML!<![endif]>
  22. <!--[if lt IE 10]>
  23. <script type="text/javascript" src="path/to/PIE.js"></script>
  24. <![endif]-->
  25. </body>
  26. </html>
  27.  
  28.  
  29.  
  30. /***** LESSCSS FILE *****/
  31. #box1 {
  32. border: 1px solid #696;
  33. padding: 60px 0;
  34. text-align: center;
  35. width: 200px;
  36. -webkit-border-radius: 50px;
  37. -moz-border-radius: 50px;
  38. border-radius: 50px;
  39. -webkit-box-shadow: #666 0px 2px 3px;
  40. -moz-box-shadow: #666 0px 2px 3px;
  41. box-shadow: #666 0px 2px 3px;
  42. background: #EEFF99;
  43. background: -webkit-gradient(linear, 0 0, 0 bottom, from(#EEFF99), to(#66EE33));
  44. background: -webkit-linear-gradient(#EEFF99, #66EE33);
  45. background: -moz-linear-gradient(#EEFF99, #66EE33);
  46. background: -ms-linear-gradient(#EEFF99, #66EE33);
  47. background: -o-linear-gradient(#EEFF99, #66EE33);
  48. background: linear-gradient(#EEFF99, #66EE33);
  49. -pie-background: linear-gradient(#EEFF99, #66EE33);
  50. behavior: url(PIE/PIE.php);
  51. }
  52.  
  53. #box2 {
  54.   width: 200px;
  55.   height: 200px;
  56.   background-color: yellow;
  57. }
  58.