Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <style>
  2.  
  3. .container {
  4. margin-top: -50px;
  5. }
  6.  
  7.  
  8. .content {
  9. width: 1000px;
  10. height: 900px;
  11. position: relative;
  12. }
  13.  
  14.  
  15. .grid {
  16. display: grid;
  17. justify-items: center;
  18. grid-template-columns: 1fr 1fr 1fr;
  19. grid-template-rows: 1fr 1fr 1fr;
  20. font-family: 'Pacifico';
  21. font-size: 35px;
  22. text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  23. font-weight: bold;
  24. color: white;
  25. grid-row-gap: 1rem;
  26. position: relative;
  27. }
  28.  
  29. .proj {
  30. top: 35%;
  31. position: relative;
  32. color: rgba(255, 255, 255, 0.8);
  33. transition: 0.3s;
  34. }
  35.  
  36. .proj:hover {
  37. color: crimson;
  38. outline: 3px rgba(255, 0, 255, 0.3) solid;
  39. background: rgba(216, 112, 147, 0.3);
  40. box-shadow: 2px 2px 4rem rgba(156, 5, 5, 0.1), 0px 0px 4rem rgba(156, 5, 5, 0.3), 0px 0px 5rem rgba(156, 5, 5, 0.3);
  41. -webkit-text-stroke: thin rgba(0, 0, 0, 0.4);
  42. }
  43.  
  44. .circle_name{
  45. width: 285px;
  46. height: 285px;
  47. text-align: center;
  48. transition: 0.3s;
  49. clip-path: circle(40%);
  50. position: relative;
  51. cursor: pointer;
  52. }
  53.  
  54. .circle_name::before {
  55. content: '';
  56. width: inherit;
  57. height: inherit;
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. z-index: -1;
  62. background: url('imagegoeshere');
  63. background-size: cover;
  64. filter: blur(10px);
  65. transition: 0.8s;
  66. }
  67.  
  68. .circle_name:hover, .circle_name:hover::before {
  69. filter: blur(0);
  70. -webkit-filter: blur(0);
  71. clip-path: circle(50%);
  72. }
  73.  
  74. </style>
  75.  
  76.  
  77. <div class="container">
  78. <div class="content">
  79. <div class="grid">
  80. <!-- ALL ITEMS GO HERE -->
  81. <div class="circle_name">
  82. <span class="proj">Circle Text</span>
  83. </div>
  84. </div>
  85. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement