Demo Flexbox 3

Developer
Size
2,822 Kb
Views
26,312

How do I make an demo flexbox 3?

What is a demo flexbox 3? How do you make a demo flexbox 3? This script and codes were developed by Hugo Giraudel on 09 August 2022, Tuesday.

Demo Flexbox 3 Previews

Demo Flexbox 3 - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Demo Flexbox 3</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .wrapper { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; font-weight: bold; text-align: center;
}
.wrapper > * { padding: 10px; flex: 1 100%;
}
.header { background: tomato;
}
.footer { background: lightgreen;
}
.main { text-align: left; background: deepskyblue;
}
.aside-1 { background: gold;
}
.aside-2 { background: hotpink;
}
@media all and (min-width: 600px) { .aside { flex: 1 auto; }
}
@media all and (min-width: 800px) { .main { flex: 3 0px; } .aside-1 { order: 1; } .main { order: 2; } .aside-2 { order: 3; } .footer { order: 4; }
}
body { padding: 2em;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="wrapper"> <header class="header">Header</header> <article class="main"> <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> </article> <aside class="aside aside-1">Aside 1</aside> <aside class="aside aside-2">Aside 2</aside> <footer class="footer">Footer</footer>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Demo Flexbox 3 - Script Codes CSS Codes

.wrapper { display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-flex-flow: row wrap; flex-flow: row wrap; font-weight: bold; text-align: center;
}
.wrapper > * { padding: 10px; flex: 1 100%;
}
.header { background: tomato;
}
.footer { background: lightgreen;
}
.main { text-align: left; background: deepskyblue;
}
.aside-1 { background: gold;
}
.aside-2 { background: hotpink;
}
@media all and (min-width: 600px) { .aside { flex: 1 auto; }
}
@media all and (min-width: 800px) { .main { flex: 3 0px; } .aside-1 { order: 1; } .main { order: 2; } .aside-2 { order: 3; } .footer { order: 4; }
}
body { padding: 2em;
}
Demo Flexbox 3 - Script Codes
Demo Flexbox 3 - Script Codes
Home Page Home
Developer Hugo Giraudel
Username HugoGiraudel
Uploaded August 09, 2022
Rating 4.5
Size 2,822 Kb
Views 26,312
Do you need developer help for Demo Flexbox 3?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Hugo Giraudel (HugoGiraudel) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!