forked from ask1811/H-oracle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a05537d
commit 625d3e1
Showing
6 changed files
with
201 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100&display=swap'); | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Poppins', sans-serif; | ||
} | ||
|
||
body { | ||
display: flex; | ||
display: flex-end; | ||
align-items: flex-end; | ||
min-height: 100vh; | ||
background: #333; | ||
} | ||
|
||
footer { | ||
position: relative; | ||
width: 100%; | ||
background: red; | ||
min-height: 100px; | ||
padding: 20px 50px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
footer .social_icon, footer .menu { | ||
position: relative; | ||
display: flex; | ||
justify-content:center; | ||
align-items:center; | ||
margin: 10px 0; | ||
} | ||
|
||
footer .social_icon li, footer .menu li { | ||
list-style: none; | ||
} | ||
footer .social_icon li a { | ||
font-size: 2em; | ||
color: #ccc; | ||
margin: 0 10px; | ||
display: inline-block; | ||
transition: 0.5s; | ||
} | ||
footer .social_icon li a:hover { | ||
transform: translateY(-15px); | ||
color: red; | ||
} | ||
|
||
footer .menu li a { | ||
font-size: 1.2em; | ||
color: #ccc; | ||
margin: 0 10px; | ||
display: inline-block; | ||
transition: 0.5s; | ||
text-decoration: none; | ||
opacity: 0.75; | ||
} | ||
footer .menu li a:hover { | ||
opacity: 1; | ||
color: #fff; | ||
} | ||
p { | ||
color : #eee; | ||
text-align: center; | ||
margin-top: 15px; | ||
margin-bottom: 10px; | ||
font-size: 1.1em; | ||
} | ||
|
||
/*wave and animation*/ | ||
footer .wave { | ||
position: absolute; | ||
top: -100px; | ||
left: 0; | ||
width: 100%; | ||
height: 100px; | ||
background: url(https://i.ibb.co/rZt4Nhg/wave.png); | ||
background-size: 1000px 100px; | ||
} | ||
|
||
footer .wave#wave1 { | ||
z-index: 1000; | ||
opacity: 1; | ||
bottom: 0; | ||
animation: animateWave 4s linear infinite; | ||
} | ||
|
||
footer .wave#wave2 { | ||
z-index: 999; | ||
opacity: 0.5; | ||
bottom: 10px; | ||
animation: animateWave_02 4s linear infinite; | ||
} | ||
footer .wave#wave3 { | ||
z-index: 1000; | ||
opacity: 0.2; | ||
bottom: 0; | ||
animation: animateWave 3s linear infinite; | ||
} | ||
|
||
footer .wave#wave4 { | ||
z-index: 999; | ||
opacity: 0.7; | ||
bottom: 20px; | ||
animation: animateWave_02 3s linear infinite; | ||
} | ||
|
||
@keyframes animateWave { | ||
0%{ | ||
background-position-x: 1000px; | ||
} | ||
100%{ | ||
background-position-x: 0px; | ||
} | ||
} | ||
|
||
@keyframes animateWave_02 { | ||
0%{ | ||
background-position-x: 0px; | ||
} | ||
100%{ | ||
background-position-x: 1000px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import React from 'react' | ||
import './Footer.css' | ||
const Footer = () => { | ||
return ( | ||
<div> | ||
<footer> | ||
<div class="waves"> | ||
<div class="wave" id="wave1"></div> | ||
<div class="wave" id="wave2"></div> | ||
<div class="wave" id="wave3"></div> | ||
<div class="wave" id="wave4"></div> | ||
</div> | ||
<ul class="social_icon"> | ||
<li><a href="#"><ion-icon name="logo-facebook"></ion-icon></a></li> | ||
<li><a href="#"><ion-icon name="logo-twitter"></ion-icon></a></li> | ||
<li><a href="#"><ion-icon name="logo-linkedin"></ion-icon></a></li> | ||
<li><a href="#"><ion-icon name="logo-instagram"></ion-icon></a></li> | ||
</ul> | ||
|
||
<ul class="menu"> | ||
<li><a href="#">Home</a></li> | ||
<li><a href="#">About</a></li> | ||
<li><a href="#">Services</a></li> | ||
<li><a href="#">Team</a></li> | ||
<li><a href="#">Contact</a></li> | ||
</ul> | ||
<p>©2021 Prakash Sahu | All Rights Reserved</p> | ||
</footer> | ||
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script> | ||
<script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script> | ||
</div> | ||
) | ||
} | ||
|
||
export default Footer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters