[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/conv/ - Conversion Rate

CRO techniques, A/B testing & landing page optimization
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1782294243403.jpg (122.76 KB, 1024x1024, img_1782294235180_pmxa52cw.jpg)ImgOps Exif Google Yandex

79273 No.1792

use
display: none;
to hide desktop elements, but always check if you are accidentally breaking your click maps via layout shifts during testing . it is crucial to keep the same element structure even when hiding adjusting visibility.

79273 No.1793

File: 1782295619227.jpg (297.5 KB, 1024x1024, img_1782295603297_tgg5oa65.jpg)ImgOps Exif Google Yandex

>>1792
if you're worried about layout shifts, try using
visibility: hidden;
instead of display none so the element still occupies its original space in the dom. it prevents that annoying jumping effect when the mobile version loads. ✅. yeah.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">