Assignment 4 SCSS animation

Developer
Size
2,587 Kb
Views
8,096

How do I make an assignment 4 scss animation?

What is a assignment 4 scss animation? How do you make a assignment 4 scss animation? This script and codes were developed by Richard on 16 January 2023, Monday.

Assignment 4 SCSS animation Previews

Assignment 4 SCSS animation - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>assignment 4 SCSS animation</title> <link rel='stylesheet prefetch' href='https://cdn.jsdelivr.net/foundation/6.2.0/foundation.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="row container small-up-2"> <div class="columns box-1"> </div> <div class="columns box-2"> </div> <div class="columns box-3"> </div> <div class="columns box-4"> </div> </div>
<br> <div class="row container perspective small-up-2"> <div class="columns box-11"> </div> <div class="columns box-12"> </div> <div class="columns box-13"> </div> <div class="columns box-14"> </div> </div>
</body>
</html>

Assignment 4 SCSS animation - Script Codes CSS Codes

@charset "UTF-8";
.container { width: 200px;
}
.box-1, .box-2, .box-3, .box-4, .box-11, .box-12, .box-13, .box-14 { height: 100px; width: 100px;
}
.box-1, .box-11 { background-color: blue;
}
.box-2, .box-12 { background-color: green;
}
.box-3, .box-13 { background-color: purple;
}
.box-4, .box-14 { background-color: orange;
}
.box-1:hover { transform: scale(2, 2); transition: 0.5s;
}
.box-2:hover { transform: translate(100px, 200px); transition: 0.5s;
}
.box-3:hover { transform: rotate(5000deg) skew(20deg); transition: 5s;
}
.box-4:hover { transform: translate(25px, 250px) scale(3, 3) rotate(-3000deg) skew(20deg); transition: 3s;
}
/*3d effects
Using a SASS Mixin , do the following to the four rectangles:
○ Rectangle 1: Move towards user 100px ○ Rectangle 2: Move away from user 100px ○ Rectangle 3: Move away from user 200px ○ Rectangle 4: Leave alone
*/
.box-11:hover { transform: scale(2, 2) translate3d(50%, 50%, 0); transition: 2s;
}
.box-12:hover { transform: scale(0.5, 0.5) translate3d(-50%, -50%, 0); transition: 2s;
}
.box-13:hover { transform: scale(0.25, 0.25) translate3d(-100%, -100%, 0); transition: 2s;
}
.perspective { perspective: 200px;
}
Assignment 4 SCSS animation - Script Codes
Assignment 4 SCSS animation - Script Codes
Home Page Home
Developer Richard
Username keyboarddesk
Uploaded January 16, 2023
Rating 3
Size 2,587 Kb
Views 8,096
Do you need developer help for Assignment 4 SCSS animation?

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!

Richard (keyboarddesk) Script Codes
Create amazing video scripts 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!