Best way to adjust font size to screen size

2 posts, 0 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 24 Apr 2014 Link to this post

    What's the best way to adjust the size of some text in a label.  If I do it for a phone, it looks too small on a tablet.  Should I load a different style sheet or does the kendo ui mobile layout have something built in?
  2. Iva Koevska
    Iva Koevska avatar
    286 posts

    Posted 28 Apr 2014 Link to this post

    Hi Dan,

    Your best bet would be to use a relative size unit like em instead of hard-coding it in pixels. If you take a look at the kendo.*.css file included in your project, you'll notice that em is widely used. You can read more about the CSS font-size property and the available CSS size units.

    Hope this helps.

    Iva Koevska

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

Back to Top