Advertisement
rex897

стили

Jul 6th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. .cia-body ul.tabs {
  2. position: relative;
  3. overflow-x: auto;
  4. overflow-y: hidden;
  5. height: 48px;
  6. width: 100%;
  7. background-color: #fff;
  8. margin: 0 auto;
  9. white-space: nowrap;
  10. display: block;
  11. align-content: center;
  12. }
  13.  
  14. .tabs li.tablinks {
  15. cursor: pointer;
  16. display: inline-block;
  17. text-align: center;
  18. line-height: 48px;
  19. height: 48px;
  20. padding: 0;
  21. margin: 0;
  22. text-transform: uppercase;
  23. }
  24.  
  25. .tabcontent {
  26. animation: fadeEffect 0.5s;
  27. }
  28.  
  29. @keyframes fadeEffect {
  30. from {
  31. opacity: 0;
  32. }
  33. to {
  34. opacity: 1;
  35. }
  36. }
  37.  
  38. .tabs .tablinks:hover,
  39. .tabs .tablinks.active {
  40. background-color: transparent;
  41. color: #ff4a40;
  42. }
  43.  
  44. .tabs .tablinks {
  45. color: rgba(238, 110, 115, 0.7);
  46. display: block;
  47. width: 100%;
  48. height: 100%;
  49. padding: 0 24px;
  50. font-size: 14px;
  51. text-overflow: ellipsis;
  52. overflow: hidden;
  53. transition: color .28s ease;
  54. text-align: center;
  55. line-height: 48px;
  56. text-transform: uppercase;
  57. }
  58.  
  59. .tabs .indicator {
  60. position: absolute;
  61. bottom: 0;
  62. height: 2px;
  63. background-color: #f6b2b5;
  64. will-change: left, right;
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement