A Pen by Bryan
How do I make an a pen by bryan?
What is a a pen by bryan? How do you make a a pen by bryan? This script and codes were developed by Bryan on 29 November 2022, Tuesday.
A Pen by Bryan - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A Pen by Bryan </title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Oswald:400,300' rel='stylesheet' type='text/css'>
<div class="main"> <input type="checkbox" name="toggle" id="toggle" /> <label for="toggle"></label> <div class="card one"> <div class="content"> <h1>Card Title 1</h1> <p>Some content</p> </div><!-- content --> </div><!--card one --> <div class="card two"> <div class="content"> <h1>Card Title 2</h1> <p>Some more content</p> </div><!-- content --> </div><!--card two -->
</div><!-- main -->
</body>
</html>
A Pen by Bryan - Script Codes CSS Codes
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
html{ background:#e1e1e1;
}
/* card style */
h1{ border-bottom:1px #e1e1e1 solid; font-family: 'Oswald', sans-serif; font-weight:300; margin-bottom:15px; text-transform:uppercase; width:100%;
}
p{font-family:'georgia', serif; color:#666666;}
.main{ width:100%; height:auto; margin:50px auto;
}
.card{ background:#FFFFFF; border:1px solid #c1c1c1; display:block; margin:0px auto; padding:20px;
}
.one{ bottom:0; height:300px; position:relative; width:500px; z-index:1;
}
.two{ top:-250px; height:300px; position:relative; width:450px; z-index:0;
}
/* toggle from surjith: https://codepen.io/surjithctly/pen/pLDwe */
#toggle { position:absolute; appearance:none; cursor:pointer; left:-100%; top:-100%;
}
#toggle + label { top:335px; position:relative; cursor:pointer; padding:10px; background: #26ae90; width: 100px; border-radius: 3px; padding: 8px 10px; color: #000000; line-height:20px; left:28.5%; font-size:12px; text-align:center; -webkit-font-smoothing: antialiased; cursor: pointer; margin:20px auto; transition:all 500ms ease; z-index:3;
}
#toggle + label:after { content:"Card 2"; font-family: 'Oswald', sans-serif; text-transform:uppercase; line-height:0; vertical-align:middle;
}
.one { transition: bottom 300ms cubic-bezier(.17,.67,.83,.67), height 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94), position 300ms cubic-bezier(.17,.67,.83,.67), z-index 3ms cubic-bezier(0.17, 0.04, 0.03, 0.94), width 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}
.two { transition: z-index 3ms cubic-bezier(0.17, 0.04, 0.03, 0.94), top 300ms cubic-bezier(.17,.67,.83,.67), height 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94), position 300ms cubic-bezier(.17,.67,.83,.67), width 300ms cubic-bezier(0.17, 0.04, 0.03, 0.94);
}
#toggle:checked ~ .one { bottom:-50px; height:300px; position:relative; width:450px; z-index:0;
}
#toggle:checked ~ .two { top:-300px; height:300px; position:relative; width:500px; z-index:1;
}
#toggle + label { background:none;
}
#toggle:checked + label { background:none;
}
#toggle:checked + label:after { content:"Card 1"; font-family: 'Oswald', sans-serif; text-transform:uppercase; line-height:0; vertical-align:middle;
}
Developer | Bryan |
Username | Brydave |
Uploaded | November 29, 2022 |
Rating | 3 |
Size | 2,286 Kb |
Views | 12,144 |
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 |
CSS Animated Hamburger Icon | 2,657 Kb |
Dollar Amount Input UI Test - Firefox Compatibility | 3,337 Kb |
JQuery Slider Practice | 2,848 Kb |
Dollar Amount Input UI Test | 3,298 Kb |
Everyone, just calm down... | 3,704 Kb |
Window Blinds Dropdown | 5,327 Kb |
Contact Card | 6,033 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 |
Simple Weather App | Cmwebby | 0 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Wikipedia Viewer | Codinger | 4,681 Kb |
TinFoil Boats | Chandralil | 4,577 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Twitch | SarahDunlap | 2,937 Kb |
Simple Linear Regression with Editable Table | Melatonind | 3,264 Kb |
JS Countdown Timer | Ayoungh | 2,435 Kb |
Review test | Otro_user_gil | 4,054 Kb |
Shape Outside - Polygon | Stacy | 3,954 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!