Hello there,
Hope you are well.
I have a full-width background container with the following CSS applied as background to break the background container into two separate parts.
.hero1 {
background: linear-gradient(
to right,
#FF90E8 55%,
#FFC900 45%
);
height: 100%;
width: 100%;
}
However, the issue is that this CSS is not responsive on mobile.
I was wondering if there is a way to make this CSS responsive on mobile so that this gradient goes from top to bottom on mobile devices. Just as two containers in a grid stack on top of each other on mobile devices?
Your help in this regard will be much appreciated.
Kind regards,