Files
webtek-assignment2/style.css
T
2025-10-02 14:25:42 +02:00

76 lines
1.1 KiB
CSS

.search-bar {
background-color: #669bbc;
width: 33%;
height: 3em;
border: 0.5em solid #780000;
border-radius: 1em;
}
.search-bar:focus {
width: 100%;
border-color: #003049;
}
.search-container {
padding: 32px 0px 0px 32px;
width: 640px;
}
#target {
background-color: yellow;
border-radius: 64px;
width: 16px;
height: 16px;
border: 16px solid red;
outline: 16px solid deepskyblue;
}
.progress {
position: absolute;
background-color: gray;
border-radius: 32px;
width: 300px;
height: 16px;
}
.stage0 {
width: 0px;
}
.stage1 {
width: 100px;
background-color: red;
}
.stage2 {
width: 200px;
background-color: yellow;
}
.stage3 {
width: 300px;
background-color: green;
}
.card {
display: inline-flex;
justify-content: space-between;
flex-direction: column;
width: 12em;
height: 18em;
border: 1px solid black;
border-radius: 5px;
}
.container>.card>.middle {
display: grid;
text-align: center;
grid-template-columns: repeat(2, 50% [col-start]);
font-size: 3em;
}
.container>.card.>.left {
}
.container>.card.>.right {
text-align: center;
}