Untitled
unknown
css
2 years ago
2.2 kB
3
Indexable
Never
@import url('https://fonts.googleapis.com/css?family=Crimson+Text:wght@600&display=swap'); body { font-family: 'Crimson Text', serif; background-color: #fff; } nav { padding-bottom: 10px; } ul { position: relative; display: flex; margin: 0; padding: 0; justify-content: center; } li { position: relative; list-style: none; padding: 0px 20px; } li a { display: block; padding: 8px; background-color: #fff; color: #000; font-family: 'Crimson Text', serif; text-decoration: none; } .logo { position: relative; display: flex; justify-content: center; } .banner { left: 0; min-height: 100vh; -webkit-background-size: cover; background-size: cover; z-index: -1; background-position: center center; } .products { display: flex; } .products .text-light { text-align: center; width: 70%; margin: 0.9rem auto; } .product { margin: 2rem; padding-left: 50px; float: left; } .product-info { background: white; padding: 1rem 0rem 0rem 0.5rem; } .product-price { padding: 0rem 0rem 0rem 0rem; } .product-name { color: black; text-decoration: none; font-size: 1rem; text-transform: uppercase; font-weight: bold; } .product-img { background: #fff; width: 270px; height: 360px; border-radius: 50%; transition: background 0.5s ease; } .product-content { padding: 3rem 0.5rem 2rem 0.5rem; cursor: pointer; } .product-img img { transition: transform 0.6s ease; width: 297px; } .container { width: 88vw; margin: 0 auto; } @media screen and (min-width: 1200px) { .product-items { grid-template-columns: repeat(3, 1fr); } .product { margin-right: 1rem; margin-left: 1rem; } .products .text-light { width: 50%; } } @media screen and (min-width: 1336px) { .product-items { grid-template-columns: repeat(4, 1fr); } .product-collection-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); } .flex { height: 60vh; } .product-col-left { height: 121.5vh; } } .footer { background: #b09774; padding-left: 10em; }