Thursday, July 25, 2013

Text resizing for desktop, mobile, and smartphones

In many cases we have place a lot of text (content) on a page, which must be readable from any Internet-enabled device. So, we have a problem to resize a text, image or any other element on a page. It's quite easy, especially with a right advice, which I found in  article . Actually we have to place a simple several line of code in css, and text will be perfectly resize. Here they are:
 
body {

transition:all .2s linear;
-o-transition:all .2s linear;
-moz-transition:all .2s linear;
-webkit-transition:all .2s linear;
}

 

No comments:

Post a Comment