Search
 
SCRIPT & CODE EXAMPLE
 

HTML

space animation html

<style>
html {
    min-height: 800px;
}

body{
margin: 0px;
}
h1, h2, h3, p {
     font-family: "brandon-grotesque",sans-serif;
}
p::before { 
    content: "     ";
}
.container {
    margin: 0;
    max-width: none;
    background-image: url(images/seamless_paper_texture.png);
}
.row {
    margin: 0;
    max-width: none;
}
.animationHeader {
    width: 100%;
    height: 700px;
    background:  url(images/starsOnly.png) no-repeat center top;
    background-size: cover;
    background-color: #290029;
    position: relative;
}

#coverElement {
    min-width:  50%;
    z-index: 10;
    background:  url(images/cover-elements.png) no-repeat center top;
    background-size: contain;  
    min-height: 80%;
}

.star {
    background-color:#F0F0F0 ;
    width: 1.5px;
    height: 1.5px;
    position: absolute;
    border: #F0F0F0 0px solid;
    border-radius: 50%;
    opacity: 0;
    -webkit-box-shadow: 0px 0px 3px 2px rgba(255,255,255,0.5);
    -webkit-animation-name: glow;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
}

#one {
    left:50px;
    top: 100px;
    -webkit-animation-delay: 0.5s;
}
#two {
    left: 80px;
    top: 520px;
     -webkit-animation-delay: 1s;
}
#three {
    left: 120px;
    top: 640px;
     -webkit-animation-delay: 1.5s;
}
#four {
     left: 230px;
    top: 300px;
    -webkit-animation-delay: 2s;
}
#five {
    left: 300px;
    top: 500px;
    -webkit-animation-delay: 2.5s;
}
#six {
    left: 500px;
    top: 100px;
}

#seven {
    left: 600px;
    top: 350px;
     -webkit-animation-delay: 3s;
}
#eight {
    left: 650px;
    top: 200px;
     -webkit-animation-delay: 2.5s;
}
#nine {
    left: 625px;
    top: 500px;
     -webkit-animation-delay: 2s;
}
#ten {
    left: 775px;
    top: 100px;
     -webkit-animation-delay: 1.5s;
}
#eleven {
    left: 850px;
    top: 600px;
    -webkit-animation-delay: 1s;
}
#twelve {
    left: 950px;
    top: 210px;
    -webkit-animation-delay: 0.5s;
}
#thirteen {
    left: 1100px;
    top: 150px;
     -webkit-animation-delay: 1s;
}
#fourteen {
    left: 1100px;
    top: 150px;
}
#fifteen{
    left: 1175px;
    top: 300px;
     -webkit-animation-delay: 2s
}
#sixteen {
    left: 920px;
    top: 315px;
}
@-webkit-keyframes glow {
    0%   {opacity: 0; transform: scale(1,1);}
    20% {opacity: .5;}
    35% {opacity: 1;}
    50%  {transform: scale(2, 2);}
    100% {transform:  scale(1,1);}
}

.textBody {
   padding: 0 25%;
    margin-top: 25px;
}
#excerpt {
    padding-bottom: 70px;
}
.firstCharacter { 
 float: left; color: #651f41; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; 
}
#footerArea {
    background-color: #651f41;
}
@media only screen and (max-width: 750px) {
    .textBody {
       padding: 0 3%;
        margin-top: 15px;
    }
}
</style>

<body>
<div class="container"> 
    <div class="row">
    <div class="animationHeader">
          <div class="star" id="one"></div>
        <div class="star" id="two"></div>
        <div class="star" id="three"></div>
        <div class="star" id="four"></div>
        <div class="star" id="five"></div>
        <div class="star" id="six"></div>
        <div class="star" id="seven"></div>
        <div class="star" id="eight"></div>
        <div class="star" id="nine"></div>
        <div class="star" id="ten"></div>
        <div class="star" id="eleven"></div>
        <div class="star" id="twelve"></div>
        <div class="star" id="thirteen"></div>
        <div class="star" id="fourteen"></div>
        <div class="star" id="fifteen"></div>
        <div class="star" id="sixteen"></div>
        <div id="coverElement"></div>
    </div>
   </div>
Comment

space animation html

<style>
html {
    min-height: 800px;
}

body{
margin: 0px;
}
h1, h2, h3, p {
     font-family: "brandon-grotesque",sans-serif;
}
p::before { 
    content: "     ";
}
.container {
    margin: 0;
    max-width: none;
    background-image: url(images/seamless_paper_texture.png);
}
.row {
    margin: 0;
    max-width: none;
}
.animationHeader {
    width: 100%;
    height: 700px;
    background:  url(images/starsOnly.png) no-repeat center top;
    background-size: cover;
    background-color: #290029;
    position: relative;
}

#coverElement {
    min-width:  50%;
    z-index: 10;
    background:  url(images/cover-elements.png) no-repeat center top;
    background-size: contain;  
    min-height: 80%;
}

.star {
    background-color:#F0F0F0 ;
    width: 1.5px;
    height: 1.5px;
    position: absolute;
    border: #F0F0F0 0px solid;
    border-radius: 50%;
    opacity: 0;
    -webkit-box-shadow: 0px 0px 3px 2px rgba(255,255,255,0.5);
    -webkit-animation-name: glow;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
}

#one {
    left:50px;
    top: 100px;
    -webkit-animation-delay: 0.5s;
}
#two {
    left: 80px;
    top: 520px;
     -webkit-animation-delay: 1s;
}
#three {
    left: 120px;
    top: 640px;
     -webkit-animation-delay: 1.5s;
}
#four {
     left: 230px;
    top: 300px;
    -webkit-animation-delay: 2s;
}
#five {
    left: 300px;
    top: 500px;
    -webkit-animation-delay: 2.5s;
}
#six {
    left: 500px;
    top: 100px;
}

#seven {
    left: 600px;
    top: 350px;
     -webkit-animation-delay: 3s;
}
#eight {
    left: 650px;
    top: 200px;
     -webkit-animation-delay: 2.5s;
}
#nine {
    left: 625px;
    top: 500px;
     -webkit-animation-delay: 2s;
}
#ten {
    left: 775px;
    top: 100px;
     -webkit-animation-delay: 1.5s;
}
#eleven {
    left: 850px;
    top: 600px;
    -webkit-animation-delay: 1s;
}
#twelve {
    left: 950px;
    top: 210px;
    -webkit-animation-delay: 0.5s;
}
#thirteen {
    left: 1100px;
    top: 150px;
     -webkit-animation-delay: 1s;
}
#fourteen {
    left: 1100px;
    top: 150px;
}
#fifteen{
    left: 1175px;
    top: 300px;
     -webkit-animation-delay: 2s
}
#sixteen {
    left: 920px;
    top: 315px;
}
@-webkit-keyframes glow {
    0%   {opacity: 0; transform: scale(1,1);}
    20% {opacity: .5;}
    35% {opacity: 1;}
    50%  {transform: scale(2, 2);}
    100% {transform:  scale(1,1);}
}

.textBody {
   padding: 0 25%;
    margin-top: 25px;
}
#excerpt {
    padding-bottom: 70px;
}
.firstCharacter { 
 float: left; color: #651f41; font-size: 75px; line-height: 60px; padding-top: 4px; padding-right: 8px; padding-left: 3px; 
}
#footerArea {
    background-color: #651f41;
}
@media only screen and (max-width: 750px) {
    .textBody {
       padding: 0 3%;
        margin-top: 15px;
    }
}
</style>

<body>
<div class="container"> 
    <div class="row">
    <div class="animationHeader">
          <div class="star" id="one"></div>
        <div class="star" id="two"></div>
        <div class="star" id="three"></div>
        <div class="star" id="four"></div>
        <div class="star" id="five"></div>
        <div class="star" id="six"></div>
        <div class="star" id="seven"></div>
        <div class="star" id="eight"></div>
        <div class="star" id="nine"></div>
        <div class="star" id="ten"></div>
        <div class="star" id="eleven"></div>
        <div class="star" id="twelve"></div>
        <div class="star" id="thirteen"></div>
        <div class="star" id="fourteen"></div>
        <div class="star" id="fifteen"></div>
        <div class="star" id="sixteen"></div>
        <div id="coverElement"></div>
    </div>
   </div>
Comment

PREVIOUS NEXT
Code Example
Html :: loader bootstrap 4 
Html :: self closing tag html 
Html :: how to add hindi in html 
Html :: Cannot play media. No decoders for requested formats: text/html 
Html :: what is merge strategy? 
Html :: Remove preceding text or numbers Google Sheets 
Html :: html how to use special characters with font 
Html :: how to declare a div 
Html :: inclure html ds html avec <object 
Html :: Remove address underlining formatting from gmail 
Html :: <model-view in html tag 
Html :: how to make rom hajkcko 
Html :: empty pre-selected option html 
Html :: dropdown uikit 
Html :: how to remove the .html from a website 
Html :: Jawaban 1 
Html :: attach a script to a button html 
Html :: ternary inside html razor 
Html :: rails patch method 
Html :: how to make a dropdown menu in osu forum 
Html :: camerx mlkit barcode scanner 
Html :: html semantics 
Html :: in what language is html written 
Html :: html games for mobile 
Css :: text unselectable css 
Css :: css center elment screen 
Css :: How to create a dotted hr 
Css :: css remove border input focus 
Css :: powershell error ps1 cannot be loaded because running scripts is disabled on this system 
Css :: center div horizontally and vertically 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =