Initial commit
This commit is contained in:
commit
5023ecb984
21
index.html
Normal file
21
index.html
Normal file
@ -0,0 +1,21 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Portfolio</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layer-2"></div>
|
||||
<div class="layer-1">
|
||||
<div class="card">
|
||||
<h4>Title</h4>
|
||||
<p>Content of the card.</p>
|
||||
<div class="btn" type="button" >Click</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="script.js"></script>
|
||||
</html>
|
||||
BIN
inspiration/green_windows.PNG
Normal file
BIN
inspiration/green_windows.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
45
style.css
Normal file
45
style.css
Normal file
@ -0,0 +1,45 @@
|
||||
html {
|
||||
background-image: url("bg1.jpg");
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
color: aliceblue;
|
||||
}
|
||||
|
||||
.card {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
width: 20vw;
|
||||
|
||||
border-color: black;
|
||||
border-radius: 1em;
|
||||
background: linear-gradient(90deg, rgba(28,212,82,0.8323530095632002) 3%, rgba(109, 236, 131, 0.747) 100%);
|
||||
}
|
||||
|
||||
.card h4 {
|
||||
height: 0.1vh;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin: 1em;
|
||||
padding: 0.3em;
|
||||
padding-left: 2em;
|
||||
padding-right: 2em;
|
||||
background-color: aliceblue;
|
||||
border-radius: 0.2em;
|
||||
background: linear-gradient(90deg, rgb(151, 255, 119) 0%, rgb(204, 255, 188) 30%, rgb(204, 255, 188) 60%, rgba(151, 255, 119,1) 100%);
|
||||
color: black;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
transition: 0.3s opacity ease-in-out;
|
||||
cursor: pointer;
|
||||
background: linear-gradient(90deg, rgb(151, 255, 119) 0%, rgb(234, 255, 228) 30%, rgb(234, 255, 228) 60%, rgba(151, 255, 119,1) 100%);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user