File tree 3 files changed +102
-0
lines changed
3 files changed +102
-0
lines changed Original file line number Diff line number Diff line change @@ -1812,6 +1812,57 @@ const codes = [
1812
1812
}
1813
1813
}
1814
1814
1815
+ ` ,
1816
+ } ,
1817
+ {
1818
+ id : 30 ,
1819
+ code : `
1820
+ ##HTML
1821
+ <div class="loader-box">
1822
+ <div class="loader-30">
1823
+ <div class="color"></div>
1824
+ </div>
1825
+
1826
+ <a href="#demo-modal" id="30" class="show-code-btn">Show Code</a>
1827
+ </div>
1828
+
1829
+ ##CSS
1830
+ .loader-30{
1831
+ position: relative;
1832
+ height: 10px;
1833
+ display: flex;
1834
+ justify-content: center;
1835
+ align-items: center;
1836
+ width: 50%;
1837
+ border: 10px solid lightblue;
1838
+ border-radius: 15px;
1839
+ }
1840
+ .loader-30 .color{
1841
+ position: absolute;
1842
+ background-color: whitesmoke;
1843
+ width: 0px;
1844
+ height: 10px;
1845
+ border-radius: 15px;
1846
+ animation: progres 4s infinite linear;
1847
+ }
1848
+ @keyframes progres{
1849
+ 0%{
1850
+ width: 0%;
1851
+ }
1852
+ 25%{
1853
+ width: 50%;
1854
+ }
1855
+ 50%{
1856
+ width: 75%;
1857
+ }
1858
+ 75%{
1859
+ width: 85%;
1860
+ }
1861
+ 100%{
1862
+ width: 100%;
1863
+ }
1864
+ };
1865
+
1815
1866
` ,
1816
1867
} ,
1817
1868
] ;
Original file line number Diff line number Diff line change @@ -1721,6 +1721,45 @@ body {
1721
1721
transform : scale (0 );
1722
1722
}
1723
1723
}
1724
+ /* .............Loader-30th............... */
1725
+
1726
+ .loader-30 {
1727
+ position : relative;
1728
+ height : 10px ;
1729
+ display : flex;
1730
+ justify-content : center;
1731
+ align-items : center;
1732
+ width : 50% ;
1733
+ border : 10px solid skyblue;
1734
+ border-radius : 15px ;
1735
+ }
1736
+ .loader-30 .color {
1737
+ position : absolute;
1738
+ background-color : orange;
1739
+ width : 0px ;
1740
+ height : 10px ;
1741
+ border-radius : 15px ;
1742
+ animation : loader-30 4s infinite linear;
1743
+ }
1744
+ @keyframes loader-30{
1745
+ 0% {
1746
+ width : 0% ;
1747
+ }
1748
+ 25% {
1749
+ width : 50% ;
1750
+ }
1751
+ 50% {
1752
+ width : 75% ;
1753
+ }
1754
+ 75% {
1755
+ width : 85% ;
1756
+ }
1757
+ 100% {
1758
+ width : 100% ;
1759
+ }
1760
+ };
1761
+
1762
+
1724
1763
1725
1764
/* .............Loader-nth............... */
1726
1765
/* add the css for the Loader-nth... */
Original file line number Diff line number Diff line change @@ -401,7 +401,19 @@ <h1>Copy Code</h1>
401
401
< a href ="#demo-modal " id ="29 " class ="show-code-btn "> Show Code</ a >
402
402
</ div >
403
403
404
+ <!-- Loader-30 -->
405
+ < div class ="loader-box ">
406
+ < div class ="loader-30 ">
407
+ < div class ="color "> </ div >
408
+ </ div >
409
+
410
+ < a href ="#demo-modal " id ="30 " class ="show-code-btn "> Show Code</ a >
411
+ </ div >
412
+
404
413
414
+
415
+
416
+
405
417
<!-- Loader-n -->
406
418
<!-- <div class="loader-box">
407
419
<div class="loader-n">
You can’t perform that action at this time.
0 commit comments