This is my website: https://prismatic.pink/
I am using divs as a background to h2 titles.
This is how it looks like on my computer. I want it to look like this on other screens.
spoiler!
This is how it looks like on my phone (and it looks kinda similar on my iPad and on my husband's computer as well).
spoiler!
This is my CSS so far:
Code: Select all
.widget-title {
background-image: url('http://prismatic.pink/wp-content/uploads/2024/11/bg-rainbow.gif');
border-radius: 7px;
border: 1px solid #736026;
margin: 1.5em 0em 1.5em 0em;
height: 1.8em;
text-align: center;
}
.widget-title h2 {
color: white;
text-shadow: 1px 0px #736026, -1px 0px #736026, 0px 1px #736026, 0px -1px #736026;
margin: -0.5em 0em 0em 0em;
}
Sorry if it's a stupid question, I'm a beginner
