<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Coming+Soon&display=swap" rel="stylesheet">
<div class="pool"></div>
<div class="edge"></div>
<div class="sign">
<div class="signbg"></div>
<h1>Pool Rules</h1>
<ol>
<li>No Food, Drinks, or Glass</li>
<li>No Running</li>
<li>No Animals</li>
<li>No Diving</li>
</ol>
<h2>No Lifeguard On Duty</h2>
<h3>Swim at your own risk</h3>
</div>
<div class="stick">
</div>
body,
html {
height: 100%;
display: grid;
background-color: #74b484;
overflow: hidden;
}
.pool {
background-color: teal;
width: 1000px;
height: 500px;
position: absolute;
display: block;
transform: rotate(-30deg);
top: -500px;
left: -350px;
border: 111px solid #cacaca;
}
.sign {
color: #463f3f;
margin: auto;
position: relative;
padding: 1em;
background-color: #d9d9d9;
border-radius: 7px;
transform: skewY(-10deg);
z-index: 1;
font-family: "Caveat", cursive;
width: 300px;
font-size: 20px;
text-align: center;
box-shadow: gray -5px -5px;
top: 25%;
text-transform: uppercase;
}
ol {
list-style: none;
padding: 0px;
}
.stick {
margin: auto;
padding: 0.5em;
background-color: #b88c77;
max-width: 50px;
height: 200px;
transform: skewY(-10deg);
top: -100px;
position: relative;
z-index: 0;
box-shadow: #582828 -5px -5px;
}
.sign:before {
content: "";
width: 0;
height: 0;
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid #74b484;
position: absolute;
top: -07px;
left: 20px;
}
.sign:after {
content: "";
width: 1px;
height: 0;
border-left: 0px solid red;
border-right: 4px solid transparent;
border-top: 20px solid gray;
border-bottom: 0px solid green;
position: absolute;
transform: rotate(42deg);
top: -05px;
left: 46px;
}
.sign h2,
.sign h3 {
text-align: center;
line-height: 10px;
transform: skewY(-2deg);
opacity: 0.8;
color: brown;
font-family: "Coming Soon", cursive;
font-size: 15px;
}
.sign h1 {
text-align: center;
color: brown;
font-family: "Coming Soon", cursive;
line-height: 20px;
padding-top: 20px;
}
.sign h2 {
padding-top: 10px;
}
.stick:after {
content: "";
width: 1px;
height: 0;
border-left: 3px solid transparent;
border-right: 3px solid transparent;
border-top: 20px solid transparent;
border-bottom: 5px solid #582828;
position: absolute;
transform: rotate(42deg);
bottom: 0px;
left: 1px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.