infinity + lightning
This commit is contained in:
40
css/infinity.css
Executable file
40
css/infinity.css
Executable file
@@ -0,0 +1,40 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.infinity {
|
||||
position: relative;
|
||||
width: 10px;
|
||||
height: 18px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border: 4px solid transparent;
|
||||
background:
|
||||
linear-gradient(to left, currentColor 5px, transparent 0) no-repeat -4px 4px/2px 2px,
|
||||
linear-gradient(to left, currentColor 5px, transparent 0) no-repeat 4px 4px/2px 2px;
|
||||
box-shadow: inset 0 0 0 2px;
|
||||
transform: rotate(-45deg);
|
||||
|
||||
&:after,
|
||||
&:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-radius: 200px;
|
||||
border: 2px solid;
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
&:after {
|
||||
top: -4px;
|
||||
left: -8px;
|
||||
border-right-color: transparent;
|
||||
}
|
||||
|
||||
&:before {
|
||||
top: 4px;
|
||||
right: -8px;
|
||||
border-left-color: transparent;
|
||||
}
|
||||
}
|
||||
34
css/lightning.css
Executable file
34
css/lightning.css
Executable file
@@ -0,0 +1,34 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
i.icon.lightning {
|
||||
position: relative;
|
||||
width: 6px;
|
||||
height: 21px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
|
||||
&:after,
|
||||
&:before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
border-right: 3px solid transparent;
|
||||
border-left: 3px solid transparent;
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
|
||||
&:before {
|
||||
top: 0;
|
||||
left: 0;
|
||||
border-bottom: 12px solid;
|
||||
}
|
||||
|
||||
&:after {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
border-top: 12px solid;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user