Commit 0cb862b 1 parent a78ea0a commit 0cb862b Copy full SHA for 0cb862b
File tree 6 files changed +58
-0
lines changed
spinning-square-svg-loader
6 files changed +58
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,10 @@ There will be continuous updates in the future. Thank you!
242
242
<img src =" static/image/html5.png " width =" 20px " >
243
243
<img src =" static/image/css3.png " width =" 20px " >
244
244
245
+ - [ Spinning Square SVG Loader] ( https://github.com/Dev-JeromeBaek/awesome-web-styling/tree/master/loading/spinning-square-svg-loader )
246
+ <img src =" static/image/html5.png " width =" 20px " >
247
+ <img src =" static/image/css3.png " width =" 20px " >
248
+
245
249
- [ Widget Spinner Loading] ( https://github.com/Dev-JeromeBaek/awesome-web-styling/tree/master/loading/widget-spinner-loading )
246
250
<img src =" static/image/html5.png " width =" 20px " >
247
251
<img src =" static/image/css3.png " width =" 20px " >
Original file line number Diff line number Diff line change 24
24
25
25
- [ Simple square point loading] ( https://github.com/Dev-JeromeBaek/awesome-web-styling/tree/master/loading/simple-square-point-loading )
26
26
27
+ - [ Spinning Square SVG Loader] ( https://github.com/Dev-JeromeBaek/awesome-web-styling/tree/master/loading/spinning-square-svg-loader )
28
+
27
29
- [ Widget Spinner Loading] ( https://github.com/Dev-JeromeBaek/awesome-web-styling/tree/master/loading/widget-spinner-loading )
28
30
29
31
---
Original file line number Diff line number Diff line change
1
+ ## Widget Spinner Loading
2
+
3
+ ![ Edit [ Web] Spinning Square SVG Loader] ( ../../gifs/loading/spinning-square-svg-loader.gif )
Original file line number Diff line number Diff line change
1
+ < html >
2
+
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
7
+ < link rel ="shortcut icon " href ="../../favicon.ico ">
8
+ < link rel ="stylesheet " type ="text/css " href ="style.css ">
9
+ < title > Spinning Square SVG Loader</ title >
10
+ </ head >
11
+
12
+ < body >
13
+ < svg >
14
+ < rect > </ rect >
15
+ </ svg >
16
+ </ body >
17
+
18
+ </ html >
Original file line number Diff line number Diff line change
1
+ body {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ display : flex;
5
+ justify-content : center;
6
+ align-items : center;
7
+ min-height : 100vh ;
8
+ background : # 042331 ;
9
+ }
10
+
11
+ svg {
12
+ width : 100px ;
13
+ height : 100px ;
14
+ }
15
+
16
+ svg rect {
17
+ width : 100px ;
18
+ height : 100px ;
19
+ fill : none;
20
+ stroke-width : 100px ;
21
+ stroke : # 00adff ;
22
+ stroke-dasharray : 100 ;
23
+ stroke-dashoffset : 50% ;
24
+ animation : animate 2s linear infinite;
25
+ }
26
+
27
+ @keyframes animate {
28
+ to {
29
+ stroke-dashoffset : 250% ;
30
+ }
31
+ }
You can’t perform that action at this time.
0 commit comments