Advertisement
andreadc

css

Mar 23rd, 2020
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.42 KB | None | 0 0
  1. component 1
  2. @import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
  3. *{
  4.     box-sizing:border-box;
  5.     font-family: 'Poppins';
  6. }
  7.  
  8. h2{
  9.     text-align:center;
  10. }
  11.  
  12. .container{
  13.     background-color: white;
  14.     /*border: 2px solid black;*/
  15.     display: flex;
  16.     justify-content: flex-start;
  17. }
  18.  
  19. .gallery{
  20.     vertical-align: top;
  21.     text-align: center;
  22.     display: -webkit-box;
  23.     display: -moz-box;
  24.     display: -ms-flexbox;
  25.     display: -webkit-flex;
  26.     display: flex;
  27.     justify-content: space-around;
  28.     flex-wrap: wrap;
  29.     flex-grow: 20;
  30.     align-content: flex-start;
  31.     background-color: white;
  32. }
  33.  
  34. .leftContainer, .rightContainer{
  35.     background-color: rgb(241, 241, 241);
  36.     max-width: 150px;
  37.     min-width: 150px;
  38.     width: 150px!;
  39.     padding: 10px;
  40.     border: 1px solid lightgray;
  41. }
  42.  
  43. .BrandFilterBox, .TypeFilterBox{
  44.     text-align: left;
  45.     background-color: rgb(241, 241, 241);
  46.     /*border: 1px solid lightgrey;*/
  47.     width: 99%;
  48. }
  49.  
  50. .BrandFilterBox .filterLabel, .TypeFilterBox .filterLabel{
  51.     font-size: 14px;
  52. }
  53.  
  54. .checkboxList .labelCount{
  55.     font-size: 12px ;
  56.     color:grey;
  57. }
  58.  
  59. .card{
  60.     width: 100%;
  61.     background-color: white;
  62.     margin: 10px;
  63.     width: 200px !important;
  64.     max-width: 200px !important;
  65.     height: fit-content;
  66.     border: 1px solid lightgrey;
  67.     padding: 10px;
  68.     box-shadow: 5px 5px 5px lightgrey;
  69. }
  70.  
  71. .card:hover{
  72.     transition: all ease-in-out 0.2s;
  73.     transform: scale(1.05, 1.05);
  74. }
  75. /*
  76. .image{
  77.     border-radius: 15px;
  78.     width: 95%;
  79.     height: 95%;
  80. }
  81. */
  82. .description-contenier .description{
  83.     font-size: 16px;
  84. }
  85.  
  86. .description-contenier .descriptionBase{
  87.     font-size: 16px;
  88.     text-align: left;
  89. }
  90.  
  91. .description-contenier .descriptionPrice{
  92.     font-size: 20px;
  93.     color: royalblue;
  94.     text-align: left;
  95. }
  96.  
  97. .btnObserve, .btnObserved{
  98.     border-radius: 0px;
  99.     width: 100%;
  100.     display:block;
  101.     border:0;
  102.     cursor:pointer;
  103.     outline:none;
  104.     background-color: rgb(241, 241, 241);
  105. }
  106.  
  107. .btnObserved{
  108.     color: royalblue;
  109. }
  110.  
  111. .btnObserve:hover, .btnObserved:hover{
  112.     background-color: royalblue;
  113.     color: white;
  114. }
  115.  
  116. img{
  117.     width: 100%;
  118.     height: 100%;
  119. }
  120.  
  121. .description{
  122.     text-align:left;
  123.     font-size:0.65em;
  124.     padding:0;
  125.     word-break: break-all;
  126. }
  127.  
  128. component 2
  129.  
  130. @import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
  131. *{
  132.     /*box-sizing:border-box;*/
  133.     font-family: 'Poppins';
  134. }
  135. body{
  136.     background-color: cornflowerblue;
  137. }
  138.  
  139. h2{
  140.     text-align:center;
  141. }
  142.  
  143. .container{
  144.     background-color: rgb(241, 241, 241);
  145.     /*border: 2px solid black;*/
  146.     display: flex;
  147.     justify-content: flex-start;
  148. }
  149.  
  150. .gallery{
  151.     vertical-align: top;
  152.     text-align: center;
  153.     display: -webkit-box;
  154.     display: -moz-box;
  155.     display: -ms-flexbox;
  156.     display: -webkit-flex;
  157.     display: flex;
  158.     justify-content: space-around;
  159.     flex-wrap: nowrap;
  160.     flex-grow: 20;
  161.     align-content: flex-start;
  162.     background-color: white;
  163. }
  164.  
  165. .leftContainer, .rightContainer{
  166.     background-color: rgb(241, 241, 241);
  167.     max-width: 150px;
  168.     min-width: 150px;
  169.     width: 150px!;
  170.     padding: 10px;
  171.     border: 1px solid lightgray;
  172. }
  173.  
  174. .card{
  175.     width: 100%;
  176.     height: 100%;
  177.     background-color: white;
  178.     margin: 10px;
  179. /*  width: 200px !important;*/
  180. /*  max-width: 200px !important;
  181.     max-height: 200px !important;*/
  182.     height: fit-content;
  183. }
  184.  
  185. .card:hover{
  186.     transition:all ease-in-out 0.2s;
  187.     transform: scale(1.05, 1.05);
  188. }
  189.  
  190. img{
  191.     width: 100%;
  192.     height: 100%;
  193. }
  194. .description{
  195.     text-align:left;
  196.     font-size:0.65em;
  197.     padding:0;
  198.     word-break: break-all;
  199. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement