Search
 
SCRIPT & CODE EXAMPLE
 

CSS

preloader css

.preloader-wrapper { 
    background: rgba(22, 22, 22, 0.3); 
    width: 100%; height: 100%; 
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 10;
}

.preloader-wrapper > .preloader { 
    background: transparent url(https://graphiclineweb.files.wordpress.com/2013/10/ajaxloader.gif?w=604) no-repeat center top;
    position: absolute;
    min-width: 128px; /* image-width of loader */
    min-height: 128px; /* image-height of loader */
    box-sizing: border-box;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-top: 148px; /* 128px image-height of loader + 20px margin */
    text-align: center;
}
Comment

preloader html css

<div class="preloader-wrapper">
    <div class="preloader">
       Loading...<br/>
       And whatever you want to have here.
    </div>
</div>
Comment

PREVIOUS NEXT
Code Example
Css :: css minmax 
Css :: how to change link color hover button text 
Css :: css hover affect other item 
Css :: what is descendant selector 
Css :: text background color css 
Css :: css clippath 
Css :: what css vmin 
Css :: css hover 
Css :: deep selector 
Css :: difference between pseudo elements and pseudo classes 
Css :: grid-column css 
Css :: padding css shorthand 
Css :: text-decoration 
Css :: tailwind css absolute pin 
Css :: css grid vs flexbox 
Css :: subtract height css 
Css :: scale textarea 
Css :: css line-height default 
Css :: css border without changing size 
Css :: css table flex 
Css :: css syntax 
Css :: remove black shadow from border 
Css :: image align text align in center 
Css :: *{ margin: 0; padding: 0; box-sizing: border-box; } 
Css :: css nesting 
Css :: position absolute and relative css 
Css :: include css typo3 
Css :: :global css 
Css :: phone css 
Css :: add space inbetween words of text 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =