Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed-Mahmoud05 authored Sep 24, 2024
1 parent f51fa8a commit d3818d8
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
65 changes: 65 additions & 0 deletions animation/mobadratask3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

*{
margin: 0;
padding:0;

}




section{
display: flex;
width: 80%;
margin: 100px;
justify-content: space-between;

}


img{
width: 100%;
}

.COFFE{
background-color: beige;
display:flex;
}

.CoffeCup{
width: 50%;
animation: coffe 2.5s ;
align-self: center;
animation-iteration-count:infinite;
animation-timing-function:linear;

}
.CD{
width: 30%;
align-self: center;
padding: 30px;
text-align: center;
}
.CD > h1{
color: brown;
font-family: Arial, Helvetica, sans-serif;


}

@keyframes coffe {
0%{
transform: translatey(-15px);
}
50%{
transform: translateY(5px);
}
100%{
transform: translatey(-15px);
}
}





25 changes: 25 additions & 0 deletions animation/mobadratask3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="mobadratask3.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">

<title>Document</title>
</head>
<body>
<section class="COFFE">

<div class="CoffeCup">
<img src="—Pngtree—white minimalist simulation coffee cup_4713740.png" alt="A Cup of coffee goes up & down">
</div>
<div class="CD">
<h1 class="p-3">TASTY COFFE</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus ducimus, voluptatem necessitatibus expedita voluptate ut ea aspernatur rerum animi alias debitis obcaecati, culpa quod incidunt dolor asperiores! Reiciendis, molestias ipsam!</p>

</div>
</section>

</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3818d8

Please sign in to comment.