Search
 
SCRIPT & CODE EXAMPLE
 

CSS

responsive web design with html5 and css

// media queries example

	/* wide laptop */
@media screen and (max-width: 1200px) {
	.home-hero-image {
		height: 50vh;
	}
}

/* small laptop */
@media screen and (max-width: 900px) {
	.home-hero-image {
		height: 60vh;
	}
	.hero-text-home {
		margin-top: 25px;
	}
	.hero-school-home-image {
		width: 40%;
	}
}
Comment

responsive web design with html5 and css: develop future-proof responsive websites using the latest html5 and css techniques

/*Pro-tip: Use percentages while positioning or sizing elements 
	ex:*/

	.example {
    	width:100%;
      	height:50%;
		left: 10%;
    }
Comment

PREVIOUS NEXT
Code Example
Css :: à quoi sert clearfix 
Css :: change button shape css 
Css :: The edit queue is full at the moment - try again in a few minutes! 
Css :: coderbytes 
Css :: gulp association of files 
Css :: step progress bar css 
Css :: css ditribute width equealy to child components 
Css :: purpose 
Css :: change the bullet point color css 
Css :: empty rulesets css 
Css :: Scooter Theme! 
Css :: background-origen,css 
Css :: vervaging en verloop css 
Css :: textxarea noresize 
Css :: how to remove table border in css for last child if rowspan 
Css :: saas mixin 
Css :: Netlify CMS mobile responsive CSS 
Css :: Slick slider and ACF Pro in WordPress 
Css :: text below filter css using pseudo 
Css :: color custom css use in laravel 
Css :: p::after p::before css 
Css :: .sidebar { --offset: 2rem; flex-grow: 1; flex-basis: 300px; align-self: start; position: sticky; top: var(--offset); } 
Css :: caching 
Css :: margin 0 auto in tailwind 
Css :: where to put media query 
Css :: bootstrap.min.css code download 
Typescript :: ng update @angular/core @angular/cli 
Typescript :: how to check open ports mac 
Typescript :: how to add a new propety into all documents in mongodb 
Typescript :: ts queryselectorall as htmlelement 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =