# Automatic Resize of Image and Text inside a Button in Perspective

**URL:** <https://forum.inductiveautomation.com/t/automatic-resize-of-image-and-text-inside-a-button-in-perspective/73200>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [May 3, 2023, 1:42pm UTC](https://forum.inductiveautomation.com/t/automatic-resize-of-image-and-text-inside-a-button-in-perspective/73200 "2023-05-03T13:42:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 20, 2025, 12:43pm UTC](https://forum.inductiveautomation.com/t/automatic-resize-of-image-and-text-inside-a-button-in-perspective/73200/5 "2025-05-20T12:43:44Z")

</div>

tl;dr: [Useful CSS Stuff - #34 by nminchin](https://forum.inductiveautomation.com/t/useful-css-stuff/95414/34)

Actually, having read the OP, `rem` units which I suggest won't work here as it's got nothing to do with the viewport changing size; it's the embedded view that's changing size and thus the rem size won't be affected. I don't ever do this so I haven't had to hurdle it before

---

_[View the full topic](https://forum.inductiveautomation.com/t/automatic-resize-of-image-and-text-inside-a-button-in-perspective/73200)._
