Advertisement
Guest User

Untitled

a guest
May 24th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. .button
  2. display: inline-block
  3. border: none
  4. color: #fff
  5. text-decoration: none
  6. background-color: $accent
  7. padding: 15px 45px
  8. font-size: 13px
  9. text-transform: uppercase
  10. font-weight: 600
  11. letter-spacing: 3px
  12. border-radius: 3px
  13. text-align: center
  14. position: relative
  15. outline: none
  16. transition: background-color .1s ease
  17. &::after
  18. transition: background-color .2s ease
  19. padding: absolute
  20. content: ''
  21. height: 4px
  22. bottom: 0
  23. width: 100%
  24. background-color: darken($accent, 50%)
  25. opacity: .18
  26. border-bottom-left-radius: 2px
  27. border-bottom-right-radius: 2px
  28. left: 0
  29. &:focus, &:hover
  30. text-decoration: none
  31. color: #fff
  32. &:hover
  33. background-color: lighten($accent, 5%)
  34. &::after
  35. opacity: .22
  36. &:active
  37. background-color: darken($accent, 5%)
  38. &::after
  39. opacity: .32
  40. &.button-white
  41. background-color: #fff
  42. color: #444
  43. &::after
  44. background-color: #e6e6e6
  45. &:hover
  46. &::after
  47. background-color: rgba(#000, .2)
  48.  
  49. @import "vars"
  50.  
  51. /*========== Desktop First ==========*/
  52.  
  53. /* Large Devices, Wide Screens */
  54. @media only screen and (max-width : 1200px)
  55. /**/
  56.  
  57. /* Medium Devices, Desktops */
  58. @media only screen and (max-width : 992px)
  59. /**/
  60.  
  61.  
  62. /* Small Devices, Tablets */
  63. @media only screen and (max-width : 768px)
  64. /**/
  65.  
  66.  
  67. /* Extra Small Devices, Phones */
  68. @media only screen and (max-width : 480px)
  69. /**/
  70.  
  71. /* Custom, iPhone Retina */
  72. @media only screen and (max-width : 320px)
  73. /**/
  74.  
  75. /*========== Mobile First ==========*/
  76.  
  77. /* Custom, iPhone Retina */
  78. @media only screen and (min-width : 320px)
  79. /**/
  80.  
  81.  
  82. /* Extra Small Devices, Phones */
  83. @media only screen and (min-width : 480px)
  84. /**/
  85.  
  86.  
  87. /* Small Devices, Tablets */
  88. @media only screen and (min-width : 768px)
  89. /**/
  90.  
  91.  
  92. /* Medium Devices, Desktops */
  93. @media only screen and (min-width : 992px)
  94. /**/
  95.  
  96.  
  97. /* Large Devices, Wide Screens */
  98. @media only screen and (min-width : 1200px)
  99. /**/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement