html - Mobile first responsive design -
i redoing css , other stuff thats needed make adaptive site responsive - until designed site laptop , scaled down , im doing other side.
i have managed site ok in 319x480 , im gonna see make first breakpoint: how go this? should resize window horizontally , see break needed or should vertically? tutorials ive seen talking horizontally, arent missing stuff then?
also, looks in portrait mode. lets make breakpoint @ 600px width portrait , 1 @ 1000px , thats it. should after go 319x480 , flip landscape , expand site once again , find new breakpoints landscape mode too?
how going in methodical way? think cool way design , wanna learn how right.
thanks!
you want use min-width media queries if doing mobile first. desktop first uses max-width. concentrate on width rather vertical height asking, if browser window height resized fine scrollbar. don't want people have scroll horizontally usually.
example:
.header-title { font-size: 14px; } @media screen , (min-width: 600px) { .header-title { font-size: 16px; } } @media screen , (min-width: 1024px) { .header-title { font-size: 18px; } }
Comments
Post a Comment