V
V
vahantov2020-07-17 17:13:39
css
vahantov, 2020-07-17 17:13:39

How to get Background-color on apple iphone devices to work properly?

Here's what it should look like.

5f11b15c86e43744725498.png

Here's what it looks like on the iphone emulator. (I also looked at the physical iphone and ipad, the result is the same.)

5f11b0f051302145122491.png

The background is given to the text through background-color.
On iPhones, for some reason, the background does not completely come out, part of it disappears somewhere.

Here is a link to the page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arman Hovhannisyan, 2020-07-17
@Armrisch

It's not at all about backround-color and not about iPhones, but in general with small screens due to poor layout,
here's the solution

.section-calc__content .left span{
transform: translate(-50%,0);
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question