Material Design-Layout-Principles Practice

Developer
Size
2,331 Kb
Views
8,096

How do I make an material design-layout-principles practice?

What is a material design-layout-principles practice? How do you make a material design-layout-principles practice? This script and codes were developed by Faryn Huang on 18 January 2023, Wednesday.

Material Design-Layout-Principles Practice Previews

Material Design-Layout-Principles Practice - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Design-Layout-Principles Practice</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper cards">	<span>Cards / Modals</span>	<ul>	<li class="z-depth1"></li>	<li class="z-depth2"></li>	<li class="z-depth3"></li>	<li class="z-depth4"></li>	<li class="z-depth5"></li>	</ul>	</div>	<div class="wrapper fab">	<span>FAB</span>	<ul>	<li class="z-depth1"></li>	<li class="z-depth2"></li>	<li class="z-depth3"></li>	<li class="z-depth4"></li>	<li class="z-depth5"></li>	</ul>	</div>	<div class="wrapper left-nav">	<span>Left Nav</span>	<ul>	<li><div class="z-depth1"></div></li>	<li><div class="z-depth2"></div></li>	<li><div class="z-depth3"></div></li>	<li><div class="z-depth4"></div></li>	<li><div class="z-depth5"></div></li>	</ul>	</div>	<div class="wrapper app-bar">	<span>App Bar</span>	<ul>	<li><div class="z-depth1"></div></li>	<li><div class="z-depth2"></div></li>	<li><div class="z-depth3"></div></li>	<li><div class="z-depth4"></div></li>	<li><div class="z-depth5"></div></li>	</ul>	</div>	<div class="wrapper paper-canvas">	<span>Sticky Left Nav with Paper Canvas</span>	<ul>	<li><div class="z-depth1"><label></label></div><label></label></li>	<li><div class="z-depth2"><label></label></div><label></label></li>	<li><div class="z-depth3"><label></label></div><label></label></li>	<li><div class="z-depth4"><label></label></div><label></label></li>	</ul>	</div>
</body>
</html>

Material Design-Layout-Principles Practice - Script Codes CSS Codes

body {	font: bold 12px/20px 'Century Gothic';
}
span {	font: bold 13px/22px 'Arial';	color: #c1c1c1;
}
.wrapper {	width: 720px;	background-color: #eee;	box-shadow: 0px 0px 5px rgba(0,0,0,.4);	-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,.4);	margin-bottom: 30px;	padding: 20px 30px 40px;
}	.wrapper li {	background-color: #fff;	display: inline-block;	text-align: center;	}
.cards li {	height: 95px;	margin-right: 35px;	width: 95px;
}
.fab li {	border-radius: 55px;	height: 55px;	margin-right: 76px;	width: 55px;
}
.left-nav li {	background-color: #e1e1e1;	height: 200px;	margin-right: 35px;	overflow: hidden;	width: 95px;
}	.left-nav li div {	background-color: #fff;	height: inherit;	width: 65px;	}
.app-bar li {	background-color: #e1e1e1;	height: 95px;	margin-right: 35px;	overflow: hidden;	width: 95px;
}	.app-bar li div {	background-color: #fff;	height: 55px;	width: inherit;	}
.paper-canvas li {	background-color: #f2f2f2;	height: 195px;	margin: 30px 18px 0;	overflow: hidden;	position: relative;	width: 290px;
}	.paper-canvas li div {	background-color: #fff;	border-left: 1px #fff solid;	height: inherit;	position: absolute;	right: 0;	width: 66%;	z-index: 999;	}	.paper-canvas li label {	background-color: #5C6BC0;	border-left: 1px #606FC4 solid;	display: block;	height: 55px;	position: absolute;	right: 0;	top: 0;	width: 100%;	}	.paper-canvas li > label {	background-color: #3F51B5;	display: block;	height: 55px;	position: absolute;	top: 0;	width: inherit;	}
.cards .z-depth1,
.fab .z-depth1 {	box-shadow: 0px 1px 3px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.42);
}
.cards .z-depth2,
.fab .z-depth2 {	box-shadow: 0px 3px 8px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 3px 8px rgba(0,0,0,0.42);
}
.cards .z-depth3,
.fab .z-depth3 {	box-shadow: 0px 6px 14px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 6px 14px rgba(0,0,0,0.42);
}
.cards .z-depth4,
.fab .z-depth4 {	box-shadow: 0px 10px 25px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 10px 25px rgba(0,0,0,0.42);
}
.cards .z-depth5,
.fab .z-depth5 {	box-shadow: 0px 18px 40px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 18px 40px rgba(0,0,0,0.42);
}
.left-nav .z-depth1 {	box-shadow: 1px 0px 1px rgba(0,0,0,0.15);	-webkit-box-shadow: 1px 0px 1px rgba(0,0,0,0.15);
}
.left-nav .z-depth2 {	box-shadow: 2px 0px 3px rgba(0,0,0,0.2);	-webkit-box-shadow: 2px 0px 3px rgba(0,0,0,0.2);
}
.left-nav .z-depth3 {	box-shadow: 2px 0px 5px rgba(0,0,0,0.22);	-webkit-box-shadow: 2px 0px 5px rgba(0,0,0,0.22);
}
.left-nav .z-depth4 {	box-shadow: 2px 0px 15px rgba(0,0,0,0.35);	-webkit-box-shadow: 2px 0px 15px rgba(0,0,0,0.35);
}
.left-nav .z-depth5 {	box-shadow: 2px 0px 25px rgba(0,0,0,0.4);	-webkit-box-shadow: 2px 0px 25px rgba(0,0,0,0.4);
}
.app-bar .z-depth1 {	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);	-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
}
.app-bar .z-depth2 {	box-shadow: 0px 3px 6px rgba(0,0,0,0.3);	-webkit-box-shadow: 0px 3px 6px rgba(0,0,0,0.3);
}
.app-bar .z-depth3 {	box-shadow: 0px 6px 12px rgba(0,0,0,0.35);	-webkit-box-shadow: 0px 6px 12px rgba(0,0,0,0.35);
}
.app-bar .z-depth4 {	box-shadow: 0px 10px 18px rgba(0,0,0,0.4);	-webkit-box-shadow: 0px 10px 18px rgba(0,0,0,0.4);
}
.app-bar .z-depth5 {	box-shadow: 0px 16px 25px rgba(0,0,0,0.42);	-webkit-box-shadow: 0px 16px 25px rgba(0,0,0,0.42);
}
.paper-canvas .z-depth1 {	box-shadow: -1px 0px 1px rgba(0,0,0,0.15);	-webkit-box-shadow: -1px 0px 1px rgba(0,0,0,0.15);
}
.paper-canvas .z-depth2 {	box-shadow: -2px 0px 3px rgba(0,0,0,0.2);	-webkit-box-shadow: -2px 0px 3px rgba(0,0,0,0.2);
}
.paper-canvas .z-depth3 {	box-shadow: -2px 0px 5px rgba(0,0,0,0.22);	-webkit-box-shadow: -2px 0px 5px rgba(0,0,0,0.22);
}
.paper-canvas .z-depth4 {	box-shadow: -2px 0px 15px rgba(0,0,0,0.35);	-webkit-box-shadow: -2px 0px 15px rgba(0,0,0,0.35);
}
.paper-canvas .z-depth5 {	box-shadow: -2px 0px 25px rgba(0,0,0,0.4);	-webkit-box-shadow: -2px 0px 25px rgba(0,0,0,0.4);
}
Material Design-Layout-Principles Practice - Script Codes
Material Design-Layout-Principles Practice - Script Codes
Home Page Home
Developer Faryn Huang
Username fraina
Uploaded January 18, 2023
Rating 3.5
Size 2,331 Kb
Views 8,096
Do you need developer help for Material Design-Layout-Principles Practice?

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!

Faryn Huang (fraina) Script Codes
Name
Dice
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!