Categories
blog scss

🌈 Happy Grid — Happy Me


 #product-listing-container,#tab-related {
	 display: flex;
	 flex-wrap: wrap;
	 padding: 0;
	 margin: 0;
	 list-style: none;
	 align-items: stretch;
	 justify-content: flex-start;
	 width: 100%;
}
 ul.productGrid, ul.product-list {
	 width: 100%;
	 display: flex;
	 flex-wrap: wrap;
	 li {
		 flex: 0 0 50%;
		 display: flex;
		 padding: 0px !important;
		 @include breakpoint("medium") {
			 flex: 0 0 25%; 
		}
		 .card {
			 display: flex;
			 flex-direction: column;
			 flex: 1;
			 box-sizing: border-box;
			 height: 100%;
			 margin-bottom: 1rem;
			 .call-button {
				 margin-top: auto;
				 .button {
					 background: stencilColor('button--primary-backgroundColor');
					 color: stencilColor('button--primary-color');
					 
					 &:hover {
						 
						 background: stencilColor('button--primary-backgroundColorHover');
						  color: stencilColor('button--primary-colorHover');
						  
						  span {
							   &::after {
									content: '';
									position: absolute;
									width: 100%;
									transform: scaleX(0);
									height: 1px;
									bottom: 0;
									left: 0;
									background-color:  stencilColor('button--primary-colorHover');
									transform-origin: bottom right;
									transition: transform 0.25s ease-out;
									transform: scaleX(1);
									 transform-origin: bottom left;
								} 
								 
						   }
					 }
					 
					 
				}
			}
		}
	}
}