search.wxss 654 B

123456789101112131415161718192021222324252627282930313233
  1. /* 搜索框 */
  2. .search{
  3. width: 90%;
  4. margin: 0rpx auto;
  5. height: 35rpx;
  6. /* border: 1rpx solid #cdcdcd; */
  7. border-radius: 10rpx;
  8. font-size: 25rpx;
  9. padding: 10rpx 0rpx;
  10. display: flex;
  11. justify-content: start;
  12. background-color: rgb(240, 240, 240);
  13. /* margin-top: 20rpx; */
  14. margin-bottom: 20rpx;
  15. }
  16. .search-box{
  17. width: 95%;
  18. height: 25rpx;
  19. margin-left: 10rpx;
  20. }
  21. .icon-search{
  22. margin-left: 20rpx;
  23. line-height: 35rpx;
  24. }
  25. .search>input{
  26. width: 90%;
  27. height: 25rpx;
  28. font-size: 25rpx;
  29. position: relative;
  30. top: -5rpx;
  31. left: 10rpx;
  32. /* background-color: red */
  33. }