@Aaryan376
Submitted
What can be the best practices while implementing this challenge?
@madhukar-30
@Aaryan376
Submitted
What can be the best practices while implementing this challenge?
@madhukar-30
Posted
๐Congratulations on completing this challenge Here are a few suggestions from my side that I believe you'll find quite intriguing: 1.Use picture elment instead of using background image The <picture> element is an HTML element used for responsive web design. It allows you to define multiple image sources for different screen sizes or display conditions and lets the browser choose the most appropriate image to display. for example :
<picture>
<!--here you are defining the image to be used for screens with a width of 375px or less,-->
<source srcset="image url " media="(max-width:375px)">
<!-- your initial image -->
<img src=" image url " alt="A description of the image">
</picture>
2.I've noticed that your layout is currently optimized for screens with a width of 375 pixels or less.To enhance responsiveness on other smaller devices, consider implementing media queries for them also .
"May this prove beneficial to you."
Marked as helpful
@Cheosphere
Submitted
...made with a lot of love ๐ค๐ป๐
@madhukar-30
Posted
pretty cool animations ๐
@hikkenoace1
Submitted
i couldn't overlay the light purple color on the image i tried everything couldn't really know what's wrong with the code
@madhukar-30
Posted
just give position: relative to overlay div and use after ::after pseudo element to place the color over image the and then use mix-blend-mode property code:
.overlay {
width: 500px; position: relative;
}
.overlay::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: hsl(277,64%,61%);
mix-blend-mode: multiply;
}
Hope it helps ๐
Marked as helpful
@CerealKiller01
Submitted
This page is built with css only mostly with flexbox and grid, it is fully responsive. All comments are welcome
@madhukar-30
Posted
Hello can you tell me how your full page is visible in design comparison in my case only a portion of it is visible