Advertisement
RyanJEarnshaw

Untitled

Sep 28th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. @import url('https://fonts.googleapis.com/css?family=Open+Sans');
  2.  
  3.  
  4. h3 {
  5. margin-top: 4%;
  6. margin-bottom: 5%;
  7. }
  8.  
  9. .demo h2 {
  10.  
  11. }
  12.  
  13. .demo h4 {
  14. color: #8c8c8c;
  15. }
  16.  
  17. .demo hr {
  18. margin: auto;
  19. margin-bottom: 3%;
  20. margin-top: 2%;
  21. width: 50%;
  22. }
  23.  
  24. #flat img {
  25. width: 200px;
  26. height: 200px;
  27. }
  28.  
  29. #housematecontainer {
  30. margin: 0 auto;
  31. float: middle;
  32. width: 70%;
  33. }
  34.  
  35. #rightgradient {
  36. display: inline-block;
  37. position: absolute;
  38. width: 20%;
  39. height: 100%;
  40. background-color: white;
  41. z-index: 100;
  42. right: 0;
  43. top: 0;
  44. margin-right: 15%;
  45. background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 99%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
  46. background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 99%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
  47. background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 99%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  48. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
  49.  
  50.  
  51. }
  52. #leftgradient {
  53. top: 0;
  54. display: inline-block;
  55. position: absolute;
  56. width: 20%;
  57. height: 100%;
  58. background-color: white;
  59. z-index: 100;
  60. margin-left: 15%;
  61. left: 0;
  62. background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
  63. background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
  64. background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  65. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-9 */
  66.  
  67. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement