@ekalookSubmitted about 2 years ago
Mohamed Nasr
@mhmdnsr-devAll comments
- @mhmdnsr-devPosted about 2 years ago
You can use transparency
<alpha-value>
on the background byhsl(178, 100%, 50%, *0.3*)
allowing the main image to appear.Marked as helpful0 - @samarth0605Submitted about 2 years ago
How to align the image with the white box ? how to make curved edges ? How to make button small? Can you please suggest me some of the improvements that I can do in my code ?
please answer these questions. Thank you.
@mhmdnsr-devPosted about 2 years agoHello, @samarth0605. First, you have to put the image in one block element such as
<picture>
, and the text content in another block element such as<div>
, and then you put the two into a container, you can make edges byborder-radius
propriety andoverflow
propriety on the container, then align them by CSS grid. ... Good luck.0