Material Design

Size
2,920 Kb
Views
6,072

How do I make an material design?

Material Design for layout. . What is a material design? How do you make a material design? This script and codes were developed by Raquel Lorenzana on 20 January 2023, Friday.

Material Design Previews

Material Design - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Material Design </title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet prefetch' href='https://code.getmdl.io/1.3.0/material.indigo-pink.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="demo-layout-transparent mdl-layout mdl-js-layout"> <div class="overlay"></div> <header class="mdl-layout__header mdl-layout__header--transparent"> <div class="mdl-layout__header-row"> <!-- Title --> <span class="mdl-layout-title">SKYHIGH</span> <!-- Add spacer, to align navigation to the right --> <div class="mdl-layout-spacer"></div> <!-- Navigation --> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="#welcome">WELCOME</a> <a class="mdl-navigation__link" href="#about">ABOUT</a> <a class="mdl-navigation__link" href="#products">PRODUCTS</a> <a class="mdl-navigation__link" href="#services">SERVICES</a> <a class="mdl-navigation__link" href="#contact">CONTACT</a> </nav> </div> </header> <div class="mdl-layout__drawer"> <span class="mdl-layout-title">SKYHIGH</span> <nav class="mdl-navigation"> <a class="mdl-navigation__link" href="#welcome">WELCOME</a> <a class="mdl-navigation__link" href="#about">ABOUT</a> <a class="mdl-navigation__link" href="#products">PRODUCTS</a> <a class="mdl-navigation__link" href="#services">SERVICES</a> <a class="mdl-navigation__link" href="#contact">CONTACT</a> </nav> </div> <main class="mdl-layout__content">
<!-- WELCOME --> <section id="welcome" class="welcome"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <center> <img src="https://gallery.mailchimp.com/5a37b8fe6fe0991f9b8e81192/images/c0bcf518-9afa-479f-bf1c-5483ba0b58db.png"> </center> </div> </div> </section>
<!-- ABOUT --> <section id="about" class="about"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <center> <h3>About</h3> </center> </div> </div> </section> <br> <section id="products" class="products"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <center> <h3>Products</h3> </center> </div> </div> </section> <br> <section id="services" class="services"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <center> <h3>Services</h3> </center> </div> </div> </section> <section id="contact" class="contact"> <div class="mdl-grid"> <div class="mdl-cell mdl-cell--12-col"> <center> <form> <h3>Contact</h3> <span>Name</span> <br> <input type="text" placeholder="Mary Jane"></input> <br> <span>Email</span> <br> <input type="text" placeholder="[email protected]"></input> <br> <span>Message</span> <br> <input class="msg" type="text" placeholder="How can we help?"></input> <button class="submit button">Submit</button> </form> </center> </div> </div> </section> <footer class="mdl-mini-footer"> <div class="mdl-mini-footer__left-section"> <div class="mdl-logo"> More Information </div> <ul class="mdl-mini-footer__link-list"> <li><a href="#">Help</a></li> <li><a href="#">Privacy and Terms</a></li> <li><a href="#">User Agreement</a></li> </ul> </div> <div class="mdl-mini-footer__right-section"> <button class="fb mdl-mini-footer__social-btn"></button> <button class="ig mdl-mini-footer__social-btn"></button> <button class="tw mdl-mini-footer__social-btn"></button> </div>
</footer> </main>
</div> <script src='https://code.getmdl.io/1.3.0/material.min.js'></script>
</body>
</html>

Material Design - Script Codes CSS Codes

.demo-layout-transparent { background-image: url('https://thump-images.vice.com/images/articles/meta/2016/04/20/weed-in-the-club-1461150956.jpg'); background-postion: center; background-size: cover;
}
.overlay { background-color: rgba(0,0,0,0); height: 100%; width: 100%; position: absolute;
}
.demo-layout-transparent .mdl-layout__header,
.demo-layout-transparent .mdl-layout__drawer-button { /* This background is dark, so we set text to white. Use 87% black instead if your background is light. */ color: white;
}
.welcome, .contact { color: #fff;
}
.products, .about, .services { background-color: #000; color: #fff; height: 350px;
}
/* FORM */
form { position: relative; background-color: rgba(0,0,0,0.7); color: #fff; padding: 5%; text-align: left; margin-bottom: 10%;
}
input { width: 90%;
}
.button { margin: 5% auto; display: block;
}
.fb { background-color: #000; background-image: url("http://www.iconsdb.com/icons/preview/dark-gray/facebook-3-xxl.png"); background-repeat: no-repeat; background-position: center; background-size: cover;
}
.ig { background-color: #000; background-image: url("http://www.mudracesindia.com/mudrace/images/instagram-icon.png"); background-repeat: no-repeat; background-position: center; background-size: cover;
}
.tw { background-color: #000; background-image: url("http://www.iconsdb.com/icons/preview/gray/twitter-3-xxl.png"); background-repeat: no-repeat; background-position: center; background-size: cover;
}
.mdl-mini-footer { background-color: #000;
}
.msg { height: 100px;
}
Material Design - Script Codes
Material Design - Script Codes
Home Page Home
Developer Raquel Lorenzana
Username raquellorenzana
Uploaded January 20, 2023
Rating 3
Size 2,920 Kb
Views 6,072
Do you need developer help for Material Design?

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!

Raquel Lorenzana (raquellorenzana) 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!