There is a seemingly simple picture. But it's hard for me to make it.
as
- how to draw a gradient over pictures
- how to add these lines?
I think it makes no sense to impose curves, it is not justified, you can read about SVG and make them on SVG, or you can make separate circles with icons and backgrounds, make lines, this would be the best option, save time and effort. The gradient is made very simple, for example, you have a parent container in which the auto icon lies, in the same container add another element with the class .overlay with the background-image parameter: linear-gradient
.vehicle__layer { height: 100px; width: 100px; border-radius:50%; border: 1px solid black; position: relative; overflow: hidden; display: flex; } .vehicle__layer::after { content: 'your icon'; font-size: 20px; color: black; margin: auto; } .vehicle__layer__overlay { width: 100%; height: 100%; position: absolute; top: 0px; left: 0px; background-image: linear-gradient(to bottom,rgba(0, 0, 0, 0.2) 30%, #000 100%); } <div class='vehicle__layer'> <div class='vehicle__layer__overlay'></div> </div> ΠΊΠ°ΠΊ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΡΠΈ Π»ΠΈΠ½ΠΈΠΈ?
Alternatively, make them a background image, as was said in the comments.
ΠΊΠ°ΠΊ ΡΠ΄Π΅Π»Π°ΡΡ Π³ΡΠ°Π΄ΠΈΠ΅Π½Ρ ΠΏΠΎΠ²Π΅ΡΡ ΠΊΠ°ΡΡΠΈΠ½ΠΎΠΊ
Do not complicate the task. In this case, it is clear that there is no gradient on the pictures themselves, so just use a pipette to find out the colors of these four pictures and manually set these colors for them, that's all.
Source: https://ru.stackoverflow.com/questions/570270/
All Articles
width: 100%. You can even svg. - Vitaly Emelyantsev