при верстке нужно такие кружочки

кружочки которые мне нужны.Как оно делается?


Ответы (2 шт):

Автор решения: sergey kuznetsov

Как-то так...

.container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: center;
  height: 200px;
}

.big {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  background-color: #00A3FF;
}

.middle {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  background-color: #00A3FF;
}

.small {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #00A3FF;
}
<div class="container">
  <div class="big">
  </div>
  <div class="middle">
  </div>
  <div class="small">
  </div>
</div>

→ Ссылка
Автор решения: CbIPoK2513

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.slider {
  display: block;
  width: 320px;
  height: 180px;
  background: #000;
  position: relative;
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.dots.-left,
.dots.-right {
  flex-direction: column;
  width: 20px;
  height: 100%;
}

.dots.-top,
.dots.-bottom {
  flex-direction: row;
  width: 100%;
  height: 20px;
}

.dots.-left {left: 0;}
.dots.-top {top: 0;}
.dots.-right {right: 0;}
.dots.-bottom {bottom: 0;}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #09f;
  box-sizing: border-box;
}

.dots.-left .dot:not(:last-child),
.dots.-right .dot:not(:last-child) {
  margin-bottom: 10px;
}

.dots.-top .dot:not(:last-child),
.dots.-bottom .dot:not(:last-child) {
  margin-right: 10px;
}

.dot.--active {
  background: #09f;
}
<div class="slider">
  <div class="dots -left">
    <div class="dot"></div>
    <div class="dot --active"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
  </div>
  
  <div class="dots -top">
    <div class="dot"></div>
    <div class="dot --active"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
  </div>
  
  <div class="dots -right">
    <div class="dot"></div>
    <div class="dot --active"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
  </div>
  
  <div class="dots -bottom">
    <div class="dot"></div>
    <div class="dot --active"></div>
    <div class="dot"></div>
    <div class="dot"></div>
    <div class="dot"></div>
  </div>
</div>

→ Ссылка