Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8a83e90369 | |||
| ac7b707ebd | |||
| cae2ed1a6c | |||
| bd33bfae6b | |||
| 56c1866467 |
@@ -13,3 +13,8 @@ more real and complex:
|
||||
```HTML
|
||||
<button style="display: flex; gap: 1rem;"><i class="icon shopping cart"></i>Cart: 0</button>
|
||||
```
|
||||
|
||||
## Demonstration
|
||||
<img src="assets/1.png" alt="Demonstration image" height="200"/>
|
||||
<img src="assets/2.png" alt="Demonstration image" height="200"/><br/>
|
||||
<img src="assets/3.png" alt="Demonstration image" height="200"/>
|
||||
BIN
assets/1.png
Normal file
BIN
assets/1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
BIN
assets/2.png
Normal file
BIN
assets/2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.7 KiB |
BIN
assets/3.png
Normal file
BIN
assets/3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
31
close.css
31
close.css
@@ -1,31 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.close {
|
||||
--diameter: 22px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
display: block;
|
||||
width: var(--diameter);
|
||||
height: var(--diameter);
|
||||
border: 2px solid transparent;
|
||||
border-radius: 40px;
|
||||
}
|
||||
|
||||
i.icon.close::after,
|
||||
i.icon.close::before {
|
||||
content: "";
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 2px;
|
||||
background: currentColor;
|
||||
transform: rotate(45deg);
|
||||
border-radius: 5px;
|
||||
top: 8px;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
i.icon.close::after {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
26
css/check.css
Normal file
26
css/check.css
Normal file
@@ -0,0 +1,26 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.check {
|
||||
position: relative;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-radius: 100px;
|
||||
border: 2px solid transparent;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
top: -1px;
|
||||
left: 3px;
|
||||
width: 6px;
|
||||
height: 10px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-width: 0 2px 2px 0;
|
||||
border-style: solid;
|
||||
transform-origin: bottom left;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
}
|
||||
36
css/close.css
Normal file
36
css/close.css
Normal file
@@ -0,0 +1,36 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.close {
|
||||
--diameter: 2em;
|
||||
--size: 1.5em;
|
||||
position: relative;
|
||||
width: var(--diameter);
|
||||
height: var(--diameter);
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-radius: 40px;
|
||||
border: 0.2em solid transparent;
|
||||
|
||||
&:is(.small) {
|
||||
--size: 1.2em;
|
||||
}
|
||||
|
||||
&::after,
|
||||
&::before {
|
||||
top: 0.7em;
|
||||
left: 0.2em;
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: var(--size, 1.5em);
|
||||
height: 2px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-radius: 5px;
|
||||
background-color: currentColor;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
&::after {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
}
|
||||
36
css/code_slash.css
Normal file
36
css/code_slash.css
Normal file
@@ -0,0 +1,36 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.code.slash {
|
||||
position: relative;
|
||||
width: 2px;
|
||||
height: 16px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
transform: rotate(15deg);
|
||||
background: currentColor;
|
||||
|
||||
&::after,
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
transform: rotate(-60deg);
|
||||
}
|
||||
|
||||
&::before {
|
||||
top: 5px;
|
||||
left: -8px;
|
||||
border-top: 2px solid;
|
||||
border-left: 2px solid;
|
||||
}
|
||||
|
||||
&::after {
|
||||
top: 3px;
|
||||
right: -8px;
|
||||
border-right: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
}
|
||||
}
|
||||
46
css/coffe.css
Normal file
46
css/coffe.css
Normal file
@@ -0,0 +1,46 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.coffe {
|
||||
position: relative;
|
||||
margin-top: 3px;
|
||||
margin-left: -4px;
|
||||
width: 18px;
|
||||
height: 14px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-radius: 6px;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
border: 2px solid;
|
||||
|
||||
&::after,
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
}
|
||||
|
||||
&::before {
|
||||
top: -7px;
|
||||
left: 2px;
|
||||
width: 2px;
|
||||
height: 4px;
|
||||
border-radius: 3px;
|
||||
background: currentColor;
|
||||
box-shadow:
|
||||
4px 0 0,
|
||||
8px 0 0;
|
||||
}
|
||||
|
||||
&::after {
|
||||
top: -1px;
|
||||
right: -6px;
|
||||
width: 6px;
|
||||
height: 8px;
|
||||
border-radius: 100px;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border: 2px solid;
|
||||
}
|
||||
}
|
||||
33
css/telegram.css
Normal file
33
css/telegram.css
Normal file
@@ -0,0 +1,33 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.telegram {
|
||||
position: relative;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-color: transparent;
|
||||
|
||||
&::before {
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border-radius: 50%;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
&::after {
|
||||
top: 7px;
|
||||
left: 9px;
|
||||
position: absolute;
|
||||
content: "";
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 5px solid transparent;
|
||||
border-right: 5px solid transparent;
|
||||
border-bottom: 8px solid currentColor;
|
||||
color: #ffffff;
|
||||
transform: rotate(-30deg);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user