bootstrap, flexbox

Please log in to post a comment
Log in with GitHubCommunity feedback
- @denielden
Hi Patil, good job!
- For center the card give flexbox and
height
properties to thebody
and remove allmargin
from.main-div
class. Note: Flexbox aligns to the size of the parent container. - Read the guide -> Flexbox
- You can use the
vh
measurement for the height... Viewport Height handles the sizing of an element in relation to the height of the browser window. - To round the corners of the
pricing-box
add the propertyborder-radius
- To insert the photo at the top in the background add these properties to the
body
:
background: url("../img/pattern-background-desktop.svg") no-repeat top center; background-size: contain; background-color: #e0e8ff;
- Try to adding a little
transition
on the buttonhover
effect
Overall you did well :) keep it up
Happy coding!
- For center the card give flexbox and
Join 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