RyukiChan

regular.min

Jun 2nd, 2020
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 72.01 KB | None | 0 0
  1. *{
  2.   margin: 0; padding: 0;
  3. }
  4. .main{
  5.   width: 100%; height: 100vh;
  6.   display: flex; justify-content: center; align-items: center;
  7. }
  8. .search-box{
  9.   width: 250px; height: 40px;
  10.   position: relative; transition: all 0.5s;
  11. }
  12. .search-box: hover{
  13.   transform: scale(1, 1);
  14. }
  15. .search-box input{
  16.   width: 100%; height: 100%; font-size: 20px; padding: 0px 20px;
  17.   border: none; box-shadow: -1px -1px 5px rgb(177, 177, 177), 0.5px 0.5px 5px rgb(177, 177, 177);
  18. border-radius: 50px;
  19.   }
  20.   .search-box i{
  21.     position: absolute; top: 0; right: 1px; background-color: black; color: white;
  22.     font-size: 23px; padding: 7.5px; cursor: pointer; border-radius: 50px;
  23.     boarder: 1px solid white; transition: all 0.3s;
  24.   }
  25.   .search-box i :hover{
  26.     transform: scale(1, 1);
  27.   }
Add Comment
Please, Sign In to add comment