SDE-Interaktivt-kort/css/index.css

62 lines
853 B
CSS
Raw Normal View History

2021-12-20 10:19:40 +00:00
html {
height: 100%;
}
body {
min-height: 100%;
}
.wrapper {
display: flex;
flex-direction: column;
justify-content: space-around;
height: 100vh;
}
.sde-icon {
width: 50vh;
height: 50vh;
}
.button {
border-radius: 15px;
background-color: rgba(0, 120, 138);
border: none;
color: #FFFFFF;
text-align: center;
position: relative;
left: 20%;
font-size: 15px;
padding: 10px;
width: 60%;
transition: all 0.5s;
cursor: pointer;
margin: 5px;
font-family: 'Titillium Web';
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}