Advertisement
iamjohnrex03

28650611

Jul 4th, 2025
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.27 KB | None | 0 0
  1. /* Image selector item */
  2. .image-selector-item {
  3.   width: 50% !important;
  4.   box-sizing: border-box;
  5. }
  6.  
  7. /* Container flex settings */
  8. #container {
  9.   display: flex;
  10.   flex-wrap: wrap;
  11.   justify-content: center;
  12. }
  13.  
  14. /* Default: 3 columns */
  15. .imageContainer.blocks {
  16.   width: 33.33%;
  17.   box-sizing: border-box;
  18. }
  19.  
  20. /* Medium screens: 2 columns */
  21. @media (max-width: 768px) {
  22.   .imageContainer.blocks {
  23.     width: 50%;
  24.   }
  25. }
  26.  
  27. /* Small screens: still 2 columns, remove background/margin clutter */
  28. @media (max-width: 480px) {
  29.   .imageContainer.blocks {
  30.     width: 50% !important;
  31.     background: #ccc;
  32.     margin: 0;
  33.   }
  34. }
  35.  
  36. /* Image label styling */
  37. .imageLabel {
  38.   font-size: 12px;
  39.   font-weight: 400;
  40.   font-family: Montserrat, sans-serif;
  41.   padding-bottom: 8px;
  42.   color: #666;
  43.   text-align: center;
  44.   text-transform: uppercase;
  45. }
  46.  
  47. /* Image div styling */
  48. .divimg {
  49.   border: none;
  50. }
  51.  
  52. /* Check mark on selected image */
  53. .divimg.check_mark::before {
  54.   content: '';
  55.   display: block;
  56.   width: 5px;
  57.   height: 10px;
  58.   border: solid #000;
  59.   border-width: 0 3.5px 3.5px 0;
  60.   border-color: #4CAF50;
  61.   transform: rotate(45deg);
  62.   position: absolute;
  63.   margin: 4px 7px;
  64. }
  65.  
  66. /* Selected image border */
  67. .divimg.selected {
  68.   border: 2px solid #8BC34A;
  69. }
  70.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement