Page 1 of 1

Bild abgerundete Ecke

Posted: 12 Apr 2025, 05:44
by Anonymous
Ich habe ein DIV, das ein Bild enthält. Ich möchte, dass diese DIV mit abgerundeten Ecken.

Code: Select all

    .thumb{
float: left;
overflow: hidden;
width: 230px;
height: 230px;
position: relative;
margin-right: 1px;
margin-bottom: 1px;
border-radius: 12px;
}
.thumb img {
max-width: 270px;
height: 270px;
left: -20px;
position: relative;
top: -20px;
width: 270px;
border-radius: 12px;
}