Skip to content

Commit f986f42

Browse files
carousel
1 parent 97f45a7 commit f986f42

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Dimuthu/06-Components/02-carousel.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,25 @@
9999
top: 50%;
100100
transform: translate(50%, -50%);
101101
}
102+
.dots {
103+
position: absolute;
104+
left: 50%;
105+
bottom: 0;
106+
transform: translate(-50%, 32px);
107+
display: flex;
108+
gap: 12px;
109+
}
110+
.dot {
111+
height: 12px;
112+
width: 12px;
113+
background-color: #fff;
114+
border: 2px solid #087f5b;
115+
border-radius: 50%;
116+
cursor: pointer;
117+
}
118+
.dot--fill {
119+
background-color: #087f5b;
120+
}
102121
</style>
103122
</head>
104123
<body>
@@ -146,6 +165,12 @@
146165
/>
147166
</svg>
148167
</button>
168+
<div class="dots">
169+
<button class="dot dot--fill">&nbsp;</button>
170+
<button class="dot">&nbsp;</button>
171+
<button class="dot">&nbsp;</button>
172+
<button class="dot">&nbsp;</button>
173+
</div>
149174
</div>
150175
</body>
151176
</html>

0 commit comments

Comments
 (0)