Flex order animation - Take 1
How do I make an flex order animation - take 1?
What is a flex order animation - take 1? How do you make a flex order animation - take 1? This script and codes were developed by AciD on 15 October 2022, Saturday.
Flex order animation - Take 1 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Flex order animation - Take 1</title> <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> <div class="wrapper"> <div class="box a">a</div> <div class="box b">b</div> <div class="box c">c</div>
</div> <script src="js/index.js"></script>
</body>
</html>
Flex order animation - Take 1 - Script Codes CSS Codes
@charset "UTF-8";
/* Does anyone transition Flexbox order yet? http://dev.w3.org/csswg/css-flexbox/#order-property */
/* ✘ Chrome 28 ✘ Safari 6.0.3 ✘ Firefox 20 ✓ Aurora 22 ? IE 10
*/
.wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; border: 2px solid #DDEEFF; -webkit-transition: all 0.5s ease-out; transition: all 0.5s ease-out;
}
.box { -webkit-transition: all 0.5s ease-out; transition: all 0.5s ease-out; width: 33%; min-height: 4em; padding: 0.75em; text-align: center; border: 2px solid #444444; background-color: #EEEEEE;
}
.a { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; background-color: deeppink;
}
.wrapper:hover .a { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2;
}
.b { -webkit-box-ordinal-group: 3; -ms-flex-order: 2; order: 2; background-color: slategrey;
}
.wrapper:hover .b { -webkit-box-ordinal-group: 4; -ms-flex-order: 3; order: 3;
}
.c { -webkit-box-ordinal-group: 4; -ms-flex-order: 3; order: 3; background-color: gold;
}
.wrapper:hover .c { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1;
}
.container { height: 100vh; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.filler { background-color: #0B3553; border: 1px solid #022238; opacity: 0.80; height: 15vh; width: 99vw;
}
body { background: #333333; color: white; font-family: "Open sans", sans-serif; font-weight: 100; font-size: 3rem;
}
a.button { color: yellow; text-decoration: none; -webkit-transition: color 0.3s ease; transition: color 0.3s ease;
}
a.button:focus { outline: none;
}
a.button:hover { color: lime;
}
.button2 { background-color: deeppink; color: white; border: 1px solid red; border-radius: 2px; height: 30px; cursor: pointer; outline: none;
}
.button2:focus, .button2:active { outline: none;
}
Flex order animation - Take 1 - Script Codes JS Codes
//-------------------- Unimportant js functions --------------------
"use strict";
Developer | AciD |
Username | AnotherLinuxUser |
Uploaded | October 15, 2022 |
Rating | 3 |
Size | 3,352 Kb |
Views | 42,504 |
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!
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 |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
VerbalExpressions Converter | Cmalven | 2,607 Kb |
A Pen by Malith Hettiarachchi | MalZiiirA | 5,531 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
Multicolumns 2 | Raphaelgoetter | 1,857 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
Pure CSS Dial | Lukewatts | 3,018 Kb |
Search Box in Content Moves to Fixed Header | Chriscoyier | 2,768 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Static Image to Video Block | Grayghostvisuals | 4,864 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!