Submitted about 3 years ago
Frontend Mentor | Fylo landing page with two column layout
@carlson142
Design comparison
SolutionDesign
Solution retrospective
Any feedback! ᄽὁȍ ̪ őὀᄿ
Community feedback
- @AGutierrezRPosted almost 3 years ago
Great job! as always!! =D, I have a few suggestions
- You could set the layout of the page in the body, no need to put everything in a
<main>
tag. - Try to use the semantic tags
<header>
,<main>
and<footer>
for the respected sections of the pages. - One common flex layout for the entire page is:
- Set the
<body>
asdisplay: flex
withflex-direction: column
and amin-height: 100vh
, this will give you a body that covers the entire viewport - Set the
<main>
withflex-grow: 1
and this will ensure that the body cover the space between<header>
and<footer>
and the<footer>
will be at the bottom of the page
- Set the
- On the
<header>
you could usealign-items: center
to center the logo and menu - Use
gap
to bring space between Flex Items, this can be used on.header__top--list
- You could use the
ch
unit, to set amax-width
on the text that you want to wrap in a certain number of characters. This way, you don't have to rely onwidth
+padding
to achieve the text to wrap as the design.
Marked as helpful2@carlson142Posted almost 3 years ago@AGutierrezR thanks a lot for your feedback)! I will implement this in next solutions!
0 - You could set the layout of the page in the body, no need to put everything in a
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