Relative Content

Tag Archive for cssiphonepositioncss-position

position relative with ::before styling not working on iphones on safari as well as on chrome

This code snippet with position relative on .btn1 and .btn2 is working fine on android, but not working in iphone on safari and on chrome as well. here is the link of the websitetext
on android its positioning is as expected but in iphone it is not correctly positioned, when I am using developer tools in chrome and on mobile view on iphone it is showing that it is working fine.
how can I achieve this on iphones,