Flex order animation - Take 1

Developer
Size
3,352 Kb
Views
42,504

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 Previews

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";
Flex order animation - Take 1 - Script Codes
Flex order animation - Take 1 - Script Codes
Home Page Home
Developer AciD
Username AnotherLinuxUser
Uploaded October 15, 2022
Rating 3
Size 3,352 Kb
Views 42,504
Do you need developer help for Flex order animation - Take 1?

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!

AciD (AnotherLinuxUser) Script Codes
Create amazing captions 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!