Untitled
unknown
plain_text
6 months ago
3.3 kB
3
Indexable
/* Add these media queries at the end of your existing CSS */ /* Large Screens (1200px and below) */ @media screen and (max-width: 1200px) { .White { width: 90%; margin-left: 5%; margin-right: 5%; } .pricingTable-firstTable_table { width: 40%; margin: 10px; } .hero { background-size: cover; padding-bottom: 100px; } .form { margin-right: 30px; } } /* Medium Screens (992px and below) */ @media screen and (max-width: 992px) { .hero { flex-direction: column; padding: 40px 20px; } .hero-left { margin-left: 0; width: 100%; text-align: center; margin-bottom: 30px; } .hero-right { margin-right: 0; max-width: 100%; width: 90%; } .form { width: 100%; margin-right: 0; padding: 20px; } .White { flex-direction: column; height: auto; padding: 20px; } .item { margin: 10px 0; justify-content: center; } .pricingTable-firstTable { padding: 20px; } .pricingTable-firstTable_table { width: 80%; margin: 20px auto; } } /* Small Screens (768px and below) */ @media screen and (max-width: 768px) { .hero-heading { font-size: 24px; } .text-white2, .text-green { font-size: 1.1em; } .callback-btn { width: 80%; } .pricingTable-title { font-size: 2em; } .pricingTable-subtitle { font-size: 1.4em; } .program-card { width: 80%; margin: 10px auto; } .home-plans-grid { flex-direction: column; } .home-plan-card { width: 90%; margin: 20px auto; } } /* Extra Small Screens (576px and below) */ @media screen and (max-width: 576px) { .hero-right input[type="text"], .hero-right input[type="email"], .hero-right input[type="phone"], .hero-right input[type="url"], .hero-right textarea, .hero-right select { font-size: 14px; padding: 10px; } .callback-btn { font-size: 1em; padding: 10px; } .item { flex-direction: column; text-align: center; } .item img { margin-right: 0; margin-bottom: 10px; } .text { width: 100%; text-align: center; } .pricingTable-firstTable_table { width: 95%; padding: 15px; } .pricingTable-firstTable_table__header { font-size: 1.3em; padding: 20px 0; } .pricingTable-firstTable_table__pricing { font-size: 2.5em; } .programs-heading { font-size: 2em; } } /* Handle very small screens (320px and below) */ @media screen and (max-width: 320px) { .hero-right { width: 100%; padding: 10px; } .form { padding: 10px; } .callback-btn { width: 90%; } .pricingTable-firstTable_table__options { padding: 10px; font-size: 0.8em; } .program-card { width: 95%; padding: 15px; } } /* Fix for larger screens (1400px and above) */ @media screen and (min-width: 1400px) { .hero { background-size: cover; max-width: 1920px; margin: 0 auto; } .White { max-width: 1400px; margin-left: auto; margin-right: auto; } .pricingTable-firstTable { max-width: 1400px; margin: 0 auto; } }
Editor is loading...
Leave a Comment