The power of transform for centering - INTERACTIVE
How do I make an the power of transform for centering - interactive?
See http://codepen.io/chrisburnell/details/CHEbf/ for full demo.. What is a the power of transform for centering - interactive? How do you make a the power of transform for centering - interactive? This script and codes were developed by Chris Burnell on 16 September 2022, Friday.
The power of transform for centering - INTERACTIVE - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The power of transform for centering - INTERACTIVE</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <textarea class="modal" disabled></textarea>
<div class="instructions">Drag the bottom right corner of the box to resize!</div>
<div class="line vertical-line"></div>
<div class="line horizontal-line"></div>
</body>
</html>
The power of transform for centering - INTERACTIVE - Script Codes CSS Codes
html { box-sizing: border-box;
}
*, *:before, *:after { box-sizing: inherit;
}
html,
body { height: 100%;
}
body { position: relative; overflow: hidden;
}
.modal { background-color: rgba(255, 127, 80, 0.8); width: 5em; min-width: 5em; max-width: 100%; height: 5em; min-height: 5em; max-height: 100%; border: 0; outline: none; position: absolute; top: 50%; left: 50%; -webkit-transform: translate3d(-50%, -50%, 0); transform: translate3d(-50%, -50%, 0); z-index: 3;
}
.instructions { background-color: white; padding: .5em 0; position: absolute; top: 1em; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); z-index: 2;
}
.line { background-color: mediumseagreen; position: absolute; z-index: 1;
}
.vertical-line { width: 1px; height: 100%; top: 0; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%);
}
.horizontal-line { width: 100%; height: 1px; top: 50%; left: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%);
}
Developer | Chris Burnell |
Username | chrisburnell |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,439 Kb |
Views | 26,312 |
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 |
Simple CSS Checkbox | 3,244 Kb |
Cutaway Indicator | 2,435 Kb |
Slip-n-slide Modal | 3,316 Kb |
Zoomy Anchor Thing | 2,680 Kb |
Interesting Hover Animation | 2,686 Kb |
Clock Face Idea | 3,196 Kb |
New Brandings | 5,617 Kb |
Simple CSS Checkbox | 2,797 Kb |
Square Illusion | 3,295 Kb |
Persistent Light Source Transform | 2,785 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 |
Basic 3D Fullscreen Transition | Apetrov | 3,270 Kb |
Flip test | Madhes | 1,635 Kb |
Layout 11 | Altynai | 1,690 Kb |
A Pen by John Malc | F789gh | 1,420 Kb |
Responsive Section hover effect to show content | Berdejitendra | 2,540 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
Brian The CSS Bee | Jonitrythall | 3,922 Kb |
A Bouncy Menu Toggle | Billyysea | 4,563 Kb |
Pericles mi loro... | Judag | 4,125 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 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!