- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 16 Jun 2014 16:09:46 -0700
- To: "Kseso?" <kseso9@gmail.com>
- Cc: www-style list <www-style@w3.org>
On Sat, Jun 14, 2014 at 6:02 AM, Kseso? <kseso9@gmail.com> wrote: > Now, we have available units based on the size of the viewport. > These units can declare on the size of the texts. > CSS does not have a way to limit the computed maximum or minimum value of > them. > > I think you should consider the convenience of including the css properties: > max-font-size > min-font-size > onto the "Css Font module" document. These seem easy and useful; I've definitely wanted to set a font-size in vh before, but no larger than some size in vw (so the text (of known length) won't overflow). > PLUS: > Consider adding the properties 'max-property' / 'min-property' to all those > that may be declared based on the percentage viewport, as 'padding', > 'margin', 'line-height'... Hmm, interesting. I wonder if there's any problems I'm not seeing with doing this... ~TJ
Received on Monday, 16 June 2014 23:10:35 UTC