-
Anonymous
CSS CLIP PATH с закругленными краями
Сообщение
Anonymous »
Я хочу сделать края этого клипа закругленными. Пожалуйста, помогите
Вот мой CSS
Код: Выделить всё
.cover-banner-section {
border-radius: 35px;
clip-path: polygon(0 0, 100% 0, 100% 60%, 70% 60%, 70% 100%, 0 100%);
background-image: linear-gradient(45deg, #1a1a1a, #333333, #444444, #555555);
min-height: 400px;
margin: 20px;
}
Спасибо!
Подробнее здесь:
https://stackoverflow.com/questions/793 ... nded-edges
1736475009
Anonymous
Я хочу сделать края этого клипа закругленными. Пожалуйста, помогите
[img]https://i.sstatic.net/HutAyXOy.png[/img]
Вот мой CSS
[code].cover-banner-section {
border-radius: 35px;
clip-path: polygon(0 0, 100% 0, 100% 60%, 70% 60%, 70% 100%, 0 100%);
background-image: linear-gradient(45deg, #1a1a1a, #333333, #444444, #555555);
min-height: 400px;
margin: 20px;
}
[/code]
Спасибо!
Подробнее здесь: [url]https://stackoverflow.com/questions/79344448/css-clip-path-with-rounded-edges[/url]