Advertisement
Guest User

CSS

a guest
Feb 18th, 2015
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1.  
  2.  
  3. #webColors{
  4. margin: auto auto 3 auto;
  5. padding: 15px;
  6. padding: 15px 40px;
  7. background: red;
  8. opacity:1;
  9. width: 600px;
  10. border-radius: 25px;
  11.  
  12. }
  13. #webSafeColors{
  14. margin: auto auto 3 auto;
  15. padding: 15px;
  16. padding: 15px 40px;
  17. background: orange;
  18. opacity:1;
  19. width: 600px;
  20. border-radius: 25px;
  21. }
  22. #RGB{
  23. margin: auto auto 3 auto;
  24. padding: 15px;
  25. padding: 15px 40px;
  26. background: yellow;
  27. opacity:1;
  28. width: 600px;
  29. border-radius: 25px;
  30. }
  31. #RGBA{
  32. margin: auto auto 3 auto;
  33. padding: 15px;
  34. padding: 15px 40px;
  35. background: green;
  36. opacity:1;
  37. width: 600px;
  38. border-radius: 25px;
  39. }
  40. #HSLHSV{
  41. margin: auto auto 3 auto;
  42. padding: 15px;
  43. padding: 15px 40px;
  44. background: blue;
  45. opacity:1;
  46. width: 600px;
  47. border-radius: 25px;
  48. }
  49. #lorem{
  50. margin: auto auto 3 auto;
  51. padding: 15px;
  52. padding: 15px 40px;
  53. background: purple;
  54. opacity:1;
  55. width: 600px;
  56. border-radius: 25px;
  57. }
  58.  
  59. article{
  60. margin: auto auto 3 auto;
  61. padding: 15px;
  62. padding: 15px 40px;
  63. background: #ffffff;
  64. opacity:0.9;
  65. width: 700px;
  66. border-radius: 25px;
  67. }
  68. aside{
  69.  
  70. padding: 15px;
  71. padding: 15px 40px;
  72. background: #ffffff;
  73. opacity:0.8;
  74. width: 150px;
  75. border-radius: 25px;
  76. }
  77. div::first-letter{
  78. font-size: 200%
  79. }
  80.  
  81. span:lang(la){
  82. color: blue;
  83. }
  84. span:lang(la):before{
  85. content: " '' ";
  86. }
  87.  
  88. span:lang(la):after{
  89. content: " '' ";
  90. }
  91.  
  92. html{
  93. background-image: url(background.jpg);
  94. }
  95.  
  96. #header{
  97. font-size: 200%;
  98. color:yellow;
  99. text-align: center;
  100. background: rgb(237,28,36); /* Old browsers */
  101. background: -moz-linear-gradient(left, rgba(237,28,36,1) 0%, rgba(237,28,36,1) 37%, rgba(34,177,76,1) 37%, rgba(34,177,76,1) 70%, rgba(0,162,232,1) 70%, rgba(0,162,232,1) 100%); /* FF3.6+ */
  102. background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(237,28,36,1)), color-stop(37%,rgba(237,28,36,1)), color-stop(37%,rgba(34,177,76,1)), color-stop(70%,rgba(34,177,76,1)), color-stop(70%,rgba(0,162,232,1)), color-stop(100%,rgba(0,162,232,1))); /* Chrome,Safari4+ */
  103. background: -webkit-linear-gradient(left, rgba(237,28,36,1) 0%,rgba(237,28,36,1) 37%,rgba(34,177,76,1) 37%,rgba(34,177,76,1) 70%,rgba(0,162,232,1) 70%,rgba(0,162,232,1) 100%); /* Chrome10+,Safari5.1+ */
  104. background: -o-linear-gradient(left, rgba(237,28,36,1) 0%,rgba(237,28,36,1) 37%,rgba(34,177,76,1) 37%,rgba(34,177,76,1) 70%,rgba(0,162,232,1) 70%,rgba(0,162,232,1) 100%); /* Opera 11.10+ */
  105. background: -ms-linear-gradient(left, rgba(237,28,36,1) 0%,rgba(237,28,36,1) 37%,rgba(34,177,76,1) 37%,rgba(34,177,76,1) 70%,rgba(0,162,232,1) 70%,rgba(0,162,232,1) 100%); /* IE10+ */
  106. background: linear-gradient(to right, rgba(237,28,36,1) 0%,rgba(237,28,36,1) 37%,rgba(34,177,76,1) 37%,rgba(34,177,76,1) 70%,rgba(0,162,232,1) 70%,rgba(0,162,232,1) 100%); /* W3C */
  107. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed1c24', endColorstr='#00a2e8',GradientType=1 ); /* IE6-9 */
  108.  
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement