Pricing component with toggle - Html, css and javascript
Design comparison
Community feedback
- @KeelanJonPosted almost 5 years ago
Hi ChamueMutezva! This is coming along well. In regards to your question about font-size, it's a 700 font-weight and I've got mine set at 4rem, I tried to adjust it when previewing yours but it wouldn't change which tells me you may not have the 700 bold montserrat font embeded.
One quick tip I learnt while coding this which I feel may also help you is in regards to the background images, you'd be surprised how no matter how much you learn, you always learn a little something new!
You can set multiple backgroud images like this:
background-image: url("images/bg-top.svg"), url("images/bg-bottom.svg");
And then set their positions seperately as seen below:
background-position: top right, bottom left;
Hope this helps!
Kind regards, Keelan
2 - @ChamuMutezvaPosted almost 5 years ago
Thanks KeelanJon,that was very helpful - i had missed that part completely of embedding bold font, And of course the background images that was insightful
0 - @ChamuMutezvaPosted almost 5 years ago
Greetings. For the prices , what font-size can i use because i can't seem to match the font weight with the given font? Or was it a different font all together
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