Simple classic living room design
Simple classic bedroomClassic Home
Simple classic bedroom
Simple classic bedroom
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Classic Bedroom</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f4f1ea;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}
.bedroom {
width: 100%;
max-width: 600px;
height: 400px;
position: relative;
background: linear-gradient(to bottom, #d2b48c, #e0c9a6);
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
overflow: hidden;
}
.wall {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
to right,
#d2b48c,
#d2b48c 10px,
#c3a57e 10px,
#c3a57e 20px
);
opacity: 0.3;
}
.bed {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
width: 60%;
height: 40%;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.bed::before {
content: '';
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 20px;
background-color: #fff;
border-radius: 10px 10px 0 0;
}
.pillow {
position: absolute;
top: 10px;
width: 30%;
height: 20%;
background-color: #f4f1ea;
border-radius: 10px;
}
.pillow.left {
left: 10%;
}
.pillow.right {
right: 10%;
}
.nightstand {
position: absolute;
bottom: 20px;
width: 20%;
height: 30%;
background-color: #8b4513;
border-radius: 5px;
}
.nightstand.left {
left: 10%;
}
.nightstand.right {
right: 10%;
}
.lamp {
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 40%;
height: 10%;
background-color: #f4f1ea;
border-radius: 5px;
}
.lamp::before {
content: '';
position: absolute;
top: -10px;
left: 50%;
transform: translateX(-50%);
width: 20%;
height: 20px;
background-color: #f4f1ea;
border-radius: 50%;
}
</style>
</head>
<body>
<div class="bedroom">
<div class="wall"></div>
<div class="bed">
<div class="pillow left"></div>
<div class="pillow right"></div>
</div>
<div class="nightstand left">
<div class="lamp"></div>
</div>
<div class="nightstand right"></div>
</div>
</body>
</html>
Artifacts Out Put , html
Simple classic bedroom
12-2-2568 by Vorapat & Orachorn
Comments
Post a Comment