Advertisement
Guest User

CSS

a guest
Sep 7th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. html, body, #hero-image {
  2. width: 100%;
  3. height: 100%;
  4. margin: 0;
  5. padding: 0;
  6. }
  7.  
  8. #hero-image {
  9. background: rgba(255, 46, 68, 1) url("img/hero-bg.png") center center;
  10. background-size: cover;
  11. background-attachment: fixed;
  12. }
  13.  
  14. #hero-content {
  15. position: fixed;
  16. top: 50%;
  17. left: 50%;
  18. width: 100%;
  19. transform: translateX(-50%) translateY(-50%);
  20. }
  21.  
  22. #hero-computers {
  23. position: fixed;
  24. top: 50%;
  25. left: 50%;
  26. transform: translateX(-50%) translateY(-50%);
  27. width: 600px;
  28. height: auto;
  29. opacity: 0.7;
  30. z-index: -1;
  31. }
  32.  
  33. @font-face {
  34. font-family: "Arimo-BoldItalic";
  35. src: url("fonts/Arimo-BoldItalic.ttf");
  36. }
  37.  
  38. #hero-title {
  39. font-weight: bolder;
  40. font-size: 70px;
  41. color: white;
  42. font-family: "Arimo-BoldItalic";
  43. text-align: center;
  44. z-index: 1;
  45. }
  46.  
  47. #scroll-down {
  48. position: fixed;
  49. width: 100%;
  50. height: 64px;
  51. margin-top: -64px;
  52. bottom: 5px;
  53. }
  54.  
  55. #scroll-arrow {
  56. position: absolute;
  57. background: url("img/down-arrow.png") center no-repeat;
  58. width: 64px;
  59. height: 64px;
  60. left: 50%;
  61. margin-left: -32px;
  62. }
  63.  
  64. #features {
  65. position: relative;
  66. height: 100%;
  67. background-color: #eeeeee;
  68. z-index: 100;
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement