We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b127303 commit 82c0746Copy full SHA for 82c0746
More-CSS/border-radius-shapes.html
@@ -0,0 +1,33 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Border Radius Shapes</title>
7
+ <style>
8
+ body {
9
+ display: grid;
10
+ place-content: center;
11
+ min-height: 100vh;
12
+ }
13
+ button {
14
+ font-size: 20px;
15
+ padding: 0.5rem;
16
+ background: lightgreen;
17
+ color: whitesmoke;
18
+ border: 0;
19
+ margin-top: 10px;
20
21
+ .ellipse {
22
+ border-radius: 50%;
23
24
+ .pill {
25
+ border-radius: 9999px; /*for perfect pill shape*/
26
27
+ </style>
28
+ </head>
29
+ <body>
30
+ <button class="ellipse">Ellipse</button>
31
+ <button class="pill">Pill Shape</button>
32
+ </body>
33
+</html>
0 commit comments