Net magazine demo - Step 3
How do I make an net magazine demo - step 3?
An animated modal confirmation for a fictious cat cafe. What is a net magazine demo - step 3? How do you make a net magazine demo - step 3? This script and codes were developed by Val Head on 07 August 2022, Sunday.
Net magazine demo - Step 3 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>net magazine demo - Step 3</title> <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! */ /* Go go google fonts! */
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300|Lato:300,400);
/* Variables */
/* Miles and miles of style */
body { background: #855082 url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/13034/graidlight.jpg"); background-size: cover; font-family: 'Lato', sans-serif; line-height: 1.4; font-weight: 300; margin: 3em 0;
}
section { width: 500px; margin: auto; position: relative;
}
.card { position: relative; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto Condensed', sans-serif; padding: .5em 2em; border-radius: 4px; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3); margin: auto; width: 430px; height: 250px; z-index: 100;
}
.inner { margin: 2em 0 4em 0;
}
h2 { color: #CB326F; font-family: 'Roboto Condensed', sans-serif; font-size: 40px; font-size: 2rem; font-weight: 300; margin: 0 0 .15em 0;
}
h3 { margin: 0 0 .5em 0;
}
p { margin: 0; color: #666666;
}
.icon-space { margin-top: -30px;
}
.icon-space img { border-radius: 50%; display: block; margin: auto; border: 4px solid white; width: 100px; height: 100px; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}
button { position: relative; z-index: 1; width: auto; height: 40px; display: block; margin: 80px auto; padding: 0 5%; border: none; border-radius: 4px; background-color: #1A9DB4; color: whitesmoke; font-size: 1em; font-family: 'Lato', sans-serif; font-weight: 300; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3); transition: background-color 0.3s cubic-bezier(0.03, 0.16, 0.39, 0.99);
}
button:hover { background-color: #CB326F;
}
section { animation: slideIn 0.85s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, fadeIn 0.25s 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
button { animation: slideDown 0.425s 1.05s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.6s 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
h2, h3 { animation: slideInShort 0.3s 0.75s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.15s 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
p { animation: slideInShort 0.3s 0.85s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.15s 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
@keyframes slideIn { from { transform: translateY(400px); } to { transform: translateY(0); }
}
@keyframes slideInShort { from { transform: translateY(80px); } to { transform: translateY(0); }
}
@keyframes slideDown { from { transform: translateY(-120px); } to { transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opaticy: 1; }
}
/* This bit is just for the credits, nothing related to the example */
.credits { background: #131313; color: whitesmoke; width: 100%; height: 2em; padding: 1em 0 2em 0; margin: 0; position: absolute; left: 0; bottom: 0;
}
.credits p { text-align: center; margin: .5em 1em; animation: none;
}
.credits a { color: #D0419F;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <section>
<div class="card"> <div class="inner"> <div class="info"> <h2>Your Reservation is complete!</h2> <h3>2pm Saturday March 14th</h3> <p>The cats at Miss Mittens’ Cat Cafe are ready to welcome you and your guest for lunch. It will be a purrrfect afternoon. </p> </div> </div> <div class="icon-space"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/13034/cyril-small_copy.jpg"/> </div>
</div>
<button>Make another reservation</button>
</section>
<!-- just some credits -->
<div class="credits"> <p>Step 3 of 4 for <a href="http://www.creativebloq.com/web-design/get-crash-course-motion-design-latest-issue-net-mag-21514216"> Design Interface Animations</a> in net magazine April 2015. More UI animation talk at: <a href="https://twitter.com/vlh">@vlh</a> and <a href="http://valhead.com/?utm_source=codepen&utm_medium=example&utm_campaign=netmagcp">valhead.com</a></p>
</body>
</html>
Net magazine demo - Step 3 - Script Codes CSS Codes
/* Go go google fonts! */
@import url(http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300|Lato:300,400);
/* Variables */
/* Miles and miles of style */
body { background: #855082 url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/13034/graidlight.jpg"); background-size: cover; font-family: 'Lato', sans-serif; line-height: 1.4; font-weight: 300; margin: 3em 0;
}
section { width: 500px; margin: auto; position: relative;
}
.card { position: relative; background: rgba(255, 255, 255, 0.9); font-family: 'Roboto Condensed', sans-serif; padding: .5em 2em; border-radius: 4px; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3); margin: auto; width: 430px; height: 250px; z-index: 100;
}
.inner { margin: 2em 0 4em 0;
}
h2 { color: #CB326F; font-family: 'Roboto Condensed', sans-serif; font-size: 40px; font-size: 2rem; font-weight: 300; margin: 0 0 .15em 0;
}
h3 { margin: 0 0 .5em 0;
}
p { margin: 0; color: #666666;
}
.icon-space { margin-top: -30px;
}
.icon-space img { border-radius: 50%; display: block; margin: auto; border: 4px solid white; width: 100px; height: 100px; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}
button { position: relative; z-index: 1; width: auto; height: 40px; display: block; margin: 80px auto; padding: 0 5%; border: none; border-radius: 4px; background-color: #1A9DB4; color: whitesmoke; font-size: 1em; font-family: 'Lato', sans-serif; font-weight: 300; box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.03), 0px 1px 2px 0px rgba(0, 0, 0, 0.3); transition: background-color 0.3s cubic-bezier(0.03, 0.16, 0.39, 0.99);
}
button:hover { background-color: #CB326F;
}
section { animation: slideIn 0.85s 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both, fadeIn 0.25s 0.5s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
button { animation: slideDown 0.425s 1.05s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.6s 1s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
h2, h3 { animation: slideInShort 0.3s 0.75s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.15s 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
p { animation: slideInShort 0.3s 0.85s cubic-bezier(0.03, 0.16, 0.39, 0.99) both, fadeIn 0.15s 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53) both;
}
@keyframes slideIn { from { transform: translateY(400px); } to { transform: translateY(0); }
}
@keyframes slideInShort { from { transform: translateY(80px); } to { transform: translateY(0); }
}
@keyframes slideDown { from { transform: translateY(-120px); } to { transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opaticy: 1; }
}
/* This bit is just for the credits, nothing related to the example */
.credits { background: #131313; color: whitesmoke; width: 100%; height: 2em; padding: 1em 0 2em 0; margin: 0; position: absolute; left: 0; bottom: 0;
}
.credits p { text-align: center; margin: .5em 1em; animation: none;
}
.credits a { color: #D0419F;
}
Developer | Val Head |
Username | valhead |
Uploaded | August 07, 2022 |
Rating | 3 |
Size | 5,295 Kb |
Views | 28,336 |
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!
Name | Size |
Steps Sprite Animation | 1,942 Kb |
IOS Gmail loader-ish | 2,920 Kb |
Net magazine demo - Complete | 5,291 Kb |
Geometric Pattern Mask | 2,527 Kb |
Modal Relationship Examples | 4,612 Kb |
Listening for CSS animation events | 2,665 Kb |
Listening for Animation Events With JavaScript | 2,727 Kb |
500 coffee cup icons | 3,169 Kb |
Playing a CSS animation on hover | 2,424 Kb |
Neon glow letters | 2,595 Kb |
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!
Name | Username | Size |
Pomodoro Clock | Yas46 | 3,328 Kb |
A Pen by Paul Sullivan | Pwsm50 | 2,349 Kb |
Medium Menu | Lucasmotta | 3,923 Kb |
Text Looping Transition | Agelber | 5,619 Kb |
CMP5-Opdracht15 | SannevanGastel | 2,733 Kb |
UI Challenge - Budget Selector | AgentRR007 | 3,547 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
LBCA - Mail canvas | Emnbdx | 3,856 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Pure CSS Menu | Bronsrobin | 3,321 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!