# \[CSS Tricks\] Enlarge WebView Component on tablet/desktop mode

**URL:** <https://community.glideapps.com/t/css-tricks-enlarge-webview-component-on-tablet-desktop-mode/30029>\
**Category:** Ask for Help\
**Created:** [August 5, 2021, 8:28am UTC](https://community.glideapps.com/t/css-tricks-enlarge-webview-component-on-tablet-desktop-mode/30029 "2021-08-05T08:28:25Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [January 27, 2023, 12:23am UTC](https://community.glideapps.com/t/css-tricks-enlarge-webview-component-on-tablet-desktop-mode/30029/16 "2023-01-27T00:23:25Z")

</div>

Hope this can help, basically an Experimental Code column to retrieve the user’s device type (please beware that this might not always be reliable), and then use conditional visibility to show/hide elements accordingly.

> [@Dark/Light mode detection](https://community.glideapps.com/t/dark-light-mode-detection/32136):
>
> In some cases where I enable match device’s theme, I find some of my images/illustrations does not work that well on both dark & light mode. Therefore I created this column so I can cover both bases. Demo: Hope it helps some of your use cases, especially for designing.

---

_[View the full topic](https://community.glideapps.com/t/css-tricks-enlarge-webview-component-on-tablet-desktop-mode/30029)._
