Submitted about 2 years ago
CSS inline-block; CSS align; CSS border; Keyframe; Animation
@tomilko6mihail
Design comparison
SolutionDesign
Solution retrospective
tell me, how do I move the first and last block below as in the design file?
Community feedback
- @VCaramesPosted about 2 years ago
Hey @MihailTomilko2003, regarding the question:
Using CSS Grid with Grid-Template-Areas will make things way easier when building the layout; it will give you full control of the layout.
Here is an example of how it works: EXAMPLE
Desktop View Code:
.card-container { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); grid-template-areas: "supervisor team calculator" "supervisor karma calculator"; } .karma-card { grid-area: karma; } .calculator-card { grid-area: calculator; align-self: center; } .team-card { grid-area: team; } .supervisor-card { grid-area: supervisor; align-self: center; }
Happy Coding! 👻🎃
Marked as helpful0@tomilko6mihailPosted about 2 years ago@vcarames thank you! this help me very mach!
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord