[css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Elli Vizcaino
Hello CSS Discuss, I'm trying to understand how relative font sizes resize in the browser because they don't seem to resize proportionately to their containing element the way a responsive background image would. The background image logo on this page: http://www.e7flux.com/e7flux2014/.html re

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Tom Livingston
Fonts are relative to the root element, and can be effected by font sizes applied to parent elements (compounding). Ems and percentage sizes will compound. Rem units will not. Font won't scale like images. There are a few script solutions but I dislike them. On Sunday, August 24, 2014, Elli Vizc

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Philippe Wittenbergh
Le 25 août 2014 à 09:51, Elli Vizcaino a écrit : > Is there anyway to get font sizing to resize proportionately based on > containing element width? You can eventually use vw, vmin units to specify the font-size. That is based on the viewport width/height. I assume that your containing element

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread David Hucklesby
On 8/24/14, 18:27, Philippe Wittenbergh wrote: Le 25 août 2014 à 09:51, Elli Vizcaino a écrit : Is there anyway to get font sizing to resize proportionately based on containing element width? You can eventually use vw, vmin units to specify the font-size. That is based on the viewport width

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Karl DeSaulniers
On Aug 24, 2014, at 7:51 PM, Elli Vizcaino wrote: > Hello CSS Discuss, > > I'm trying to understand how relative font sizes resize in the browser > because they don't seem to resize proportionately to their containing > element the way a responsive background image would. The background > image

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Susan Davis
Am I wrong about sizing? I thought the base element for font-sizing was the HTML element, not the body element...? Susan Davis On 8/24/2014 8:35 PM, Karl DeSaulniers wrote: Now when you set your font-size in ems or percentages remember this. The body is the main element that percentages or ems

Re: [css-d] Understanding How Relative Font-Size Resize Units in Responsive Design

2014-08-24 Thread Karl DeSaulniers
On Aug 24, 2014, at 10:45 PM, Susan Davis wrote: > Am I wrong about sizing? I thought the base element for font-sizing was the > HTML element, not the body element...? > > Susan Davis > > On 8/24/2014 8:35 PM, Karl DeSaulniers wrote: >> Now when you set your font-size in ems or percentages r