<>
.image-with-text {
position: relative;
display: block;
}
.image-with-text p {
position: absolute;
text-align:left;
bottom: 0;
left: 10px;
color: white;
text-shadow: 2px 2px 5px black;
font-weight: bold;
font-size: 3.7vw;
}
@media screen and (min-width: 992px) {
.image-with-text p {
font-size: 20px;
}
}
.max-width-100 {
max-width: 100%;
}
>
<>
.image-with-text {
position: relative;
display: block;
}
.image-with-text p {
position: absolute;
text-align:left;
bottom: 0;
left: 10px;
color: white;
text-shadow: 2px 2px 5px black;
font-weight: bold;
font-size: 3.7vw;
}
@media screen and (min-width: 992px) {
.image-with-text p {
font-size: 20px;
}
}
.max-width-100 {
max-width: 100%;
}
>
<>
.image-with-text {
position: relative;
display: block;
}
.image-with-text p {
position: absolute;
text-align:left;
bottom: 0;
left: 10px;
color: white;
text-shadow: 2px 2px 5px black;
font-weight: bold;
font-size: 3.7vw;
}
@media screen and (min-width: 992px) {
.image-with-text p {
font-size: 20px;
}
}
.max-width-100 {
max-width: 100%;
}
>
<>
.image-with-text {
position: relative;
display: block;
}
.image-with-text p {
position: absolute;
text-align:left;
bottom: 0;
left: 10px;
color: white;
text-shadow: 2px 2px 5px black;
font-weight: bold;
font-size: 3.7vw;
}
@media screen and (min-width: 992px) {
.image-with-text p {
font-size: 20px;
}
}
.max-width-100 {
max-width: 100%;
}
>