This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #459 from neeshat060708/poltu
adding my animation to the project
- Loading branch information
Showing
5 changed files
with
72 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title> My first Art Animation</title> | ||
<link rel="stylesheet" type="text/css" href="artstyle.css"> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" | ||
/> | ||
</head> | ||
<body> | ||
<h1 class="animate__animated animate__heartBeat">City Life</h1> | ||
<div class="container"> | ||
<img src="https://pixune.com/wp-content/uploads/2023/03/world.png"> | ||
</div> | ||
|
||
</body> | ||
</html> |
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,45 @@ | ||
*{ | ||
text-align: center; | ||
} | ||
body{ | ||
background-color: skyblue; | ||
} | ||
|
||
h1{ | ||
font-family: fantasy; | ||
font-size: 4em; | ||
border-bottom: 2px solid pink; | ||
width: 400px; | ||
text-align: center; | ||
box-shadow: 4px 4px 5px #888888; | ||
margin-top: 10px; | ||
|
||
} | ||
|
||
.my-element { | ||
display: inline-block; | ||
margin: 0 0.5rem; | ||
|
||
animation: heartBeat; | ||
animation-duration: 2s; | ||
} | ||
.my-element { | ||
--animate-repeat: 2; | ||
} | ||
|
||
img{ | ||
width: 550px; | ||
height: 350px; | ||
margin: 10px; | ||
} | ||
img:hover { | ||
transform: scale(1.1); | ||
} | ||
.container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
} | ||
.container:hover { | ||
transform: rotate(-15deg); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Empty file.