-
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
f51fa8a
commit d3818d8
Showing
3 changed files
with
90 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,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); | ||
} | ||
} | ||
|
||
|
||
|
||
|
||
|
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,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.