Guest User

Untitled

a guest
Oct 17th, 2018
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. @mixin logo-gradient($color-one, $color-two) {
  2. background: $color-one; /* Old browsers */
  3. background: -moz-linear-gradient(left, $color-one 0%, $color-two 81%);
  4. background: -webkit-gradient(linear, left top, right top, color-stop(0%,$color-one), color-stop(81%,$color-two));
  5. background: -webkit-linear-gradient(left, $color-one 0%,$color-two 81%);
  6. background: -o-linear-gradient(left, $color-one 0%,$color-two 81%);
  7. background: -ms-linear-gradient(left, $color-one 0%,$color-two 81%);
  8. background: linear-gradient(left, $color-one 0%,$color-two 81%);
  9. }
  10.  
  11. @mixin animation($time, $fill) {
  12. -webkit-animation-duration: $time;
  13. -moz-animation-duration: $time;
  14. -ms-animation-duration: $time;
  15. -o-animation-duration: $time;
  16. animation-duration: $time;
  17. -webkit-animation-fill-mode: $fill;
  18. -moz-animation-fill-mode: $fill;
  19. -ms-animation-fill-mode: $fill;
  20. -o-animation-fill-mode: $fill;
  21. animation-fill-mode: $fill;
  22. }
  23. #hire {
  24. @include animation(1.2s, 'both');
  25. width: 102px;
  26. height: 112px;
  27. position: absolute;
  28. top: 0;
  29. right: 25%;
  30.  
  31. h3 {
  32. font-size: 18px;
  33. font-family: 'museo-sans';
  34. text-align: center;
  35. margin-top: 25px;
  36. a {
  37. color: #FFF;
  38. text-decoration: none;
  39. }
  40. }
  41. .arrow {
  42. position: absolute;
  43. bottom: 0;
  44. width: 0;
  45. height: 0;
  46. border-left: 51px solid transparent;
  47. border-right: 51px solid transparent;
  48. border-bottom: 51px solid #FFF;
  49. }
  50. }
  51.  
  52. .cssgradients {
  53. #hire {
  54. @include logo-gradient(#422411, #3c5985);
  55. }
  56. }
Add Comment
Please, Sign In to add comment