button.scss 425 B

12345678910111213141516171819202122232425262728
  1. .button.button__line-1 {
  2. position: relative;
  3. .button__text {
  4. position: absolute;
  5. top: 50%;
  6. left: 50%;
  7. transform: translate(-50%, -50%);
  8. }
  9. .button__bg {
  10. height: 54px;
  11. margin: auto;
  12. }
  13. .button__inner {
  14. position: absolute;
  15. top: 50%;
  16. left: 50%;
  17. max-width: 190px;
  18. width: 100%;
  19. height: 54px;
  20. transform: translate(-50%, -50%);
  21. opacity: 0;
  22. z-index: 11;
  23. }
  24. }