Difference between revisions of "Team:Judd UK/berhfudf"

Line 69: Line 69:
 
opacity:0
 
opacity:0
 
}
 
}
div>h1,div>h1>b{
+
#intro>h1,#intro>h1>b{
 
text-align:left;
 
text-align:left;
 
border:none!important;
 
border:none!important;
Line 79: Line 79:
 
transition:color 1s ease-in;
 
transition:color 1s ease-in;
 
}
 
}
div>h1>b{
+
#intro>h1>b{
 
font-weight:400!important;
 
font-weight:400!important;
 
color:#ff6427;
 
color:#ff6427;
Line 134: Line 134:
 
var ch=0;
 
var ch=0;
 
function typeIt() {
 
function typeIt() {
             if (ch > qs("[data-later]").dataset.later.length){ setTimeout(function(){qs("#intro").style.opacity = "0";qs("#homestyles").remove(); qs("#afterintro").style.opacity="1";setTimeout(function(){qs("#intro").remove(); qs("#content-container").style.visibility="visible" },500);},1000); return;}
+
             if (ch > qs("[data-later]").dataset.later.length){ setTimeout(function(){qs("#intro").style.opacity = "0"; qs("#afterintro").style.opacity="1";setTimeout(function(){qs("#intro").remove(); },500);},1000); return;}
 
             if (qs("[data-later]").dataset.later[ch] != "<")
 
             if (qs("[data-later]").dataset.later[ch] != "<")
 
                 qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++);
 
                 qs("[data-later]").innerHTML = qs("[data-later]").dataset.later.substring(0, ch++);

Revision as of 22:52, 31 October 2017

Contents

HEYY!

Designed by Aleksandur Murfitt