portfolio-site/style.css
2022-09-12 11:17:09 +03:00

46 lines
1.0 KiB
CSS

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%);
}