Struggling to find a solution while sticking with native bootstrap utility classes. My goal is to have this section take up 50% of the space on large screens and 75% on small devices:
<div class="col-10 col-xl-8 justify-content-center align-items-center h-100">
<div class="text-white w-75 shaded-background">
<h1 class="mb-3">Boost Efficiency and Productivity: Modernize Your Legacy Apps Today!</h1>
<h2 class="mb-3">Don't let your legacy applications slow down your business.</h2>
</div>
</div>
https://codepen.io/literakl/pen/XWyjdMo
I couldn't find a w-xl-50
class like with col
. Considering using
@media screen and (min-width: 1024px)
as a workaround if there's no way to use the xl
selector. Any better ideas?