Sign up to create your own snipts, or login.

Public snipts » comsharp's snipts » comsharp

posted on Jul 22, 2010 at 3:18 a.m. EDT in 
  • @media only screen and (max-device-width: 480px) {
    	div#wrapper {
    		width: 400px;
    	}
    
    	div#header {
    		background-image: url(media-queries-phone.jpg);
    		height: 93px;
    		position: relative;
    	}
    
    	div#header h1 {
    		font-size: 140%;
    	}
    
    	#content {
    		float: none;
    		width: 100%;
    	}
    
    	#navigation {
    		float:none;
    		width: auto;
    	}
    }
    

    copy | embed

0 Comments

Sign up, or login to leave a comment.