A Pen by Yash Pandey (YP) on CodePen.
Created
February 14, 2021 11:14
-
-
Save EmperorYP7/c844fd3018e0ee1338da847a104fe726 to your computer and use it in GitHub Desktop.
Task #1
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
<html> | |
<head> | |
<title>Portfolio</title> | |
</head> | |
<body> | |
<div class="top"> PORTFOLIO </div> | |
<div class="image"> | |
<img src="https://images.unsplash.com/photo-1606663889134-b1dedb5ed8b7?crop=entropy&cs=srgb&fm=jpg&ixid=MXwxNDU4OXwwfDF8cmFuZG9tfHx8fHx8fHw&ixlib=rb-1.2.1&q=85" /> | |
</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
body { | |
margin: 0; | |
padding: 0; | |
background-color: E5E5E5; | |
} | |
.top { | |
background-color: #65df80; | |
height: 7vh; | |
font-size: 3vh; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
} | |
.image { | |
height: 80vh; | |
width: auto; | |
background-color: ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment