Untitled
3 years ago in Plain Text
<!DOCTYPE html><html><head><meta charset="utf-8"><title>gunjan1.html</title></head><body><p>&lt;!-- Created by Abhishek Gunjan --&gt;</p>
<p>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"/&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1"/&gt;
&lt;title&gt;happy republic day&lt;/title&gt;
&lt;style&gt;
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body {
font-family:sans-serif;
font-size:15px;
background:linear-gradient(0deg, rgb(85, 217, 233),rgb(86, 73, 252));
height:631px;
}
h1{
font-family:cursive;
text-align:center;
margin:30px 0;
color:#fff;
font-weight:bold;
}</p>
<p>h3{
font-family:cursive;
text-align:right;
margin:200px 0;
color:#fff;
font-weight:bold;
}
.container{
position:relative;
width:100%;
max-width:360px;
margin:auto;
}
.fleg-wrapper {
width:200px;
transform:translateX(-40px);
}</p>
<p>.fleg {
position:absolute;
top:20px;
left:50%;
width:270px;
}
.fleg div{
width:100%;
height:50px;
}
.f1 {
background:#dd7a1f;
}
.f2 {
background:#fff;
position:relative;
}
.f3 {
background:#046b26;
}
.cycle {
position:relative;
width:50px;
max-width:50px;
height:50px;
border-radius:50%;
margin:auto;
border:2px solid #00f;
overflow:hidden;
transition: transform 1s linear;
animation:rotate 1s linear infinite;
}
@keyframes rotate{
to{
transform:rotate(360deg);
}
}
.cycle:before{
content:'';
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
height:14px;
width:14px;
background:#00f;
border-radius:50%;
}
.cycle span {
position:absolute;
top:50%;
left:50%;
display:block;
transform:translate(-50%,-50%);
width:2px;
height:44px;
background:#00f;
border-radius:1px;
}
.fleg:hover .f2 .cycle {
transform:rotate(360deg);
}
.cycle span:nth-child(1) {
top:0;
transform:rotate(0deg) translate(-5%,1%);
}
.cycle span:nth-child(2) {
top:0;
transform:rotate(90deg) translate(0%,2%);
}
.cycle span:nth-child(3) {
top:0;
transform:rotate(45deg) translate(0%,2%);
}
.cycle span:nth-child(4) {
top:0;
transform:rotate(-45deg) translate(0%,1%);
}
.cycle span:nth-child(5) {
top:0;
transform:rotate(22deg) translate(0%,2%);
}
.cycle span:nth-child(6) {
top:0;
transform:rotate(-22deg) translate(0%,2%);
}
.cycle span:nth-child(7) {
top:0;
transform:rotate(67deg) translate(0%,2%);
}
.cycle span:nth-child(8) {
top:0;
transform:rotate(-67deg) translate(0%,2%);
}
.stick {
position:relative;
height:500px;
width:20px;
background:#ffffd6;
box-shadow:inset 0px 0px 5px 1px rgba(0,0,0,0.2);
margin:auto;
border-radius:10% 10% 0 0;
}</p>
<p>.stick:before{
content:'';
position:absolute;
top:0;
left:-4px;
height:14px;
width:28px;
background:#ffffd6;
border-radius:5px;
box-shadow:inset 0px 0px 5px 2px rgba(0,0,0,0.2);
}</p>
<p>.stick .tip {
position:absolute;
top:-18px;
left:0;
height:18px;
width:20px;
background:#ffffd6;
border-radius:50% 50% 0 0;
box-shadow:inset 0px 0px 5px 2px rgba(0,0,0,0.2);
}</p>
<p>.footer div{
height:20px;
background:#ad5757;
box-shadow:inset 0px 4px 3px 2px rgba(255,255,255,0.4);
border-top-left-radius:5px;
border-top-right-radius:5px;
margin:auto;
}
.footer div:nth-child(1){
width:80px;
}
.footer div:nth-child(2){
width:130px;
}
.footer div:nth-child(3){
width:180px;
height:25px;
}</p>
<p>.content {
position:absolute;
top:200px;
right:10px;
width:250px;
color:#fff;
}
.content h2{
text-align:left;
margin-bottom:10px;
font-size:2em;
}</p>
<h1 id="audio">audio {</h1>
<p>position:absolute;
z-index:-1;
height:0;
visibility:hidden;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;~ Happy independence Day ~ &lt;/h1&gt;
&lt;section class="container" onclick="playAudio()"&gt;
&lt;div class="fleg-wrapper"&gt;
&lt;div class="fleg"&gt;
&lt;div class="f1"&gt;&lt;/div&gt;
&lt;div class="f2"&gt;
&lt;div class="cycle"&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;span&gt;&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="f3"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;!-- fleg --&gt;
&lt;div class="stick"&gt;
&lt;div class="tip" &gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="footer"&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;!-- fleg-wrapper --&gt;
&lt;div class="content"&gt;
&lt;h2&gt;RastriyGan&lt;/h2&gt;
&lt;p&gt;
Jana gana mana adhi naayaka jaya hai!
Bhaarat bhaagya vidhaata
Punjab Sindh Gujarat Maraatha,
Dravid Utkala Bangaa.
Vindhya Himachala Yamuna Ganga,
Uchhala jaladhi taranga.
Tava shubh naame jaage,
Tava shubh aashish maage,
Gahe tava jaya-gaatha. </p>
<p>Jana-gana-mangaladayaka jaya hai!
Bharat bhagya vidhata.
Jaya hai! Jaya hai! Jaya hai!
Jaya Jaya Jaya Jaya hai!
&lt;/p&gt;
&lt;h3&gt;&lt;p&gt; ~Developed by Abhishek Gunjan&lt;/p&gt;&lt;/h3&gt;</p>
<p>&lt;/div&gt;
&lt;/section&gt;
&lt;!--
&lt;audio src="http://twilight3g.com/mp3-ringtones/tone/2015/bollywood/meramulkme_nSBrBe54.mp3" id="audio" controls&gt;
&lt;/audio&gt;--&gt;
&lt;audio id="audio" controls="controls" src="https://www.dropbox.com/s/8l4r54wvhgkppso/Sare%20jahan%20se%20acha%20Ringtones%20-%20Free%20by%20ZEDGE%E2%84%A2.mp3?dl=1"&gt;&lt;/audio&gt;</p>
<p>&lt;script&gt;</p>
<p>function playAudio() {
var x = document.getElementById("audio");
x.play();
} </p>
<p>&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</p></body></html>