8,960
edits
No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
background-color: transparent; /* Фон кольца */ | background-color: transparent; /* Фон кольца */ | ||
list-style-type: none; | list-style-type: none; /* Убирает маркер списка */ | ||
position: relative; | position: relative; | ||
margin: 10px; | margin: 10px; | ||
padding: 0; /* Убирает отступы */ | |||
} | } | ||
| Line 16: | Line 17: | ||
width: 160px; /* Размер внутреннего круга */ | width: 160px; /* Размер внутреннего круга */ | ||
height: 160px; | height: 160px; | ||
background-color: | background-color: white; /* Цвет внутреннего круга (можно сделать прозрачным) */ | ||
border-radius: 50%; | border-radius: 50%; | ||
top: 50%; | top: 50%; | ||
| Line 22: | Line 23: | ||
transform: translate(-50%, -50%); | transform: translate(-50%, -50%); | ||
} | } | ||