You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

_users.scss 932 B

2 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .user {
  2. display: block;
  3. position: relative;
  4. height: 8rem;
  5. padding: 0.5rem;
  6. margin: 0 0 1rem;
  7. background: white;
  8. border: 1px solid $card-border-color;
  9. border-radius: $border-radius;
  10. img {
  11. position: absolute;
  12. top: 50%;
  13. left: 50%;
  14. transform: translate(-50%, -50%);
  15. max-width: 200px;
  16. max-height: 100px;
  17. }
  18. &-target {
  19. position: relative;
  20. top: -140px;
  21. &:target + a {
  22. z-index: 1;
  23. border-color: transparent;
  24. box-shadow: 0 0 0 5px $brand-primary;
  25. animation: 1s tada 0.5s 1 both;
  26. }
  27. }
  28. }
  29. @keyframes tada {
  30. 0%,
  31. 100% {
  32. transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 0deg);
  33. }
  34. 10%,
  35. 20% {
  36. transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
  37. }
  38. 30%,
  39. 50%,
  40. 70%,
  41. 90% {
  42. transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
  43. }
  44. 40%,
  45. 60%,
  46. 80% {
  47. transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
  48. }
  49. }

js yarn包管理组件依赖分析

Contributors (1)