Thursday, September 14, 2023
HomeCSScss - Fullscreen a div in HTML

css – Fullscreen a div in HTML


<< html lang=" en">
<> < head>>.
<< meta charset=" UTF-8">
<> < meta name=" viewport" material=" size= device-width, initial-scale= 1.0">>.
<< web link rel=" stylesheet" href="./ lobby_style. css">
<> < title>> Entrance hall<. <. << design>>.
* {
font-family: 'Roboto';
}
html, body {
elevation: 100%;
margin: 0;
overflow: concealed;/ * Conceal any kind of overflow material */.
history: #EAE 8DD;
}
/ * Establish the.fullscreen div to use up complete elevation */
. fullscreen {
display screen: flex;
flex-direction: column;.
elevation: 100%;.
}
. header {
display screen: flex;.
justify-content: space-between;.
align-items: facility;.
cushioning: 0px 20px 20px 20px;.
}
. header h1 {
shade: #db 5049;.
}
. logo design {
size: 150px;.
}
. character {
size: 3%;.
border-radius: 50%;.
}
. material {
display screen: flex;.
flex-direction: column;.
cushioning: 20px 20px 20px 20px;.
space: 20px;.
align-items: facility;.
}
. picture-area {
display screen: flex;.
justify-content: facility;.
}
. timer-container {
size: 20px;.
boundary: 1px strong #ccc;.
border-radius: 10px;.
overflow: concealed;.
display screen: flex;.
flex-direction: column-reverse;.
}
. timer-bar {
elevation: 0;.
shift: elevation ones straight;.
}
#guess {
border-radius: 10px;.
elevation: 30px;.
size: 20%;.
text-align: facility;.
font-size: 16px;.
}
#pixel- photo {
max-height: 800px;.
}
. scorelist {
display screen: flex;.
flex-wrap: cover;.
}
. score-item {
display screen: flex;.
align-items: facility;.
margin: 10px;.
cushioning: 10px;.
boundary: 1px strong #ccc;.
border-radius: 5px;.
}
. score-item img {
size: 50px;.
elevation: 50px;.
border-radius: 50%;.
margin-right: 10px;.
}
. player-info {
flex: 1;.
}
. player-name {
font-weight: vibrant;.
margin: 0;.
}
. player-score {
margin: 0;.
}
<. << body>>.
<< div course=" fullscreen">
<> < div course=" header">
<> < img course=" logo design" src="./ images/logo. png" alt=" Our logo design">>.
<< h1>> Entrance hall ID:<. << img src="./ images/img _ avatar.png" alt=" Your Character" course=" character">
<> .
<< div course=" material">

<> < div course=" picture-area">
<> < img src="./ images/roger. jpeg" id=" pixel-image" alt=" The pixelated photo">>.
<< div course=" timer-container">
<> < div course=" timer-bar"><> .
<. << input kind=" message" name=" assumption" id=" assumption" placeholder=" Enter your assumption">>.

<< div course=" scorelist">
<> < div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Kenny< < p course=" player-score">> Rating: 120<. <. <. << div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Cartman< < p course=" player-score">> Rating: 85<. <. <. << div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Stan< < p course=" player-score">> Rating: 150<. <. <. << div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Kyle< < p course=" player-score">> Rating: 110<. <. <. << div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Butters< < p course=" player-score">> Rating: 75<. <. <. << div course=" score-item">
<> < img src="./ images/img _ avatar.png" alt=" profile-picture">
<> < div course=" player-info">
<> < p course=" player-name">> Wendy< < p course=" player-score">> Rating: 200<. <. <. <

RELATED ARTICLES

Most Popular

Recent Comments