inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 15, 2019 8:20:35 GMT -8
URL: thedasandbeyond.com/page/character-creationThis might be a lofty ask, but could anyone help with optimizing the look of this particular page (link above) for mobile? ZERO RUSH on this request. Just some screenshots to show comparisons of how it's viewed via browser versus how it's viewed via mobile: How it looks on a browser (good): How it looks on mobile (baaad):
|
|
inherit
96289
0
May 17, 2020 9:37:00 GMT -8
elli
1,822
January 2007
ebbymac
|
Post by elli on Feb 15, 2019 8:56:04 GMT -8
On mobile, you usually want text to scale down and wrap. You can use media queries to target specific breakpoints, like this: @media only screen and (max-width: 768px) { .selector { font-size: 10px; } } only screen targets screens, since you can also use media queries to target printable pages, and screen readers. The part in the parentheses targets a media feature, in this case a maximum device width. Media queries are most commonly written this way to create responsive styles, but they can be used for a lot of other things. Read more on MDN: developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 15, 2019 9:47:29 GMT -8
I just noticed that it's actually getting messed up looking on regular computer, too, and not just mobile viewing. If the browser on my laptop is fully open, it looks fine. If I partially minimize the browser, the text goes all cluttered. Standard viewing (computer), partially minimized browser:
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 16, 2019 22:10:35 GMT -8
bump
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 20, 2019 18:07:22 GMT -8
bump
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 25, 2019 18:13:09 GMT -8
bump
|
|
inherit
246669
0
Jan 2, 2023 13:25:26 GMT -8
Philip
97
July 2017
phil82
|
Post by Philip on Feb 26, 2019 1:01:35 GMT -8
remove the height attribute from your selector next, set the line-height back to normal, then replace your inline label styles with left padding instead of text-indent and set your font size as required( elli suggestion)
|
|
inherit
257408
0
Jul 1, 2022 5:21:42 GMT -8
Aliana
92
January 2019
alianalili
|
Post by Aliana on Feb 28, 2019 5:03:38 GMT -8
remove the height attribute from your selector next, set the line-height back to normal, then replace your inline label styles with left padding instead of text-indent and set your font size as required( elli suggestion)
Ah, thank you. It was just the line-height in the CSS that was the issue - I didn't need to touch the inline label styles in the end at all. Thanks again.
|
|