generated from dwd/boilarplate-remix-tailwind-antd
s1
This commit is contained in:
24
public/assets/custom-radio.css
Normal file
24
public/assets/custom-radio.css
Normal file
@@ -0,0 +1,24 @@
|
||||
.custom-radio {
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
appearance: none;
|
||||
width: 29.47px;
|
||||
height: 29.47px;
|
||||
border: 2px solid #ccc;
|
||||
border-radius: 50%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Create the inner circle for checked state */
|
||||
.custom-radio:checked::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 12.74px;
|
||||
height: 12.74px;
|
||||
background-color: #000;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
Reference in New Issue
Block a user