Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .container {
- display: flex;
- flex-direction: column
- }
- .row {
- display: flex;
- flex: 1;
- flex-direction: row;
- text-align: center;
- }
- .product-item {
- border: 1px solid #000;
- border-radius: 5px;
- margin: 5px;
- padding: 8px;
- }
- .product-item-image {
- max-width: 250px;
- }
- @media (max-width: 600px) {
- .row {
- flex-direction: column
- }
- .product-item {
- display: flex;
- align-items: center;
- justify-content: left;
- }
- .product-item-image {
- width: 50%;
- }
- .product-item-title {
- margin: 0 auto;
- font-size: 38px;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement