Isometric css island
How do I make an isometric css island?
Not finished yet. For a project journey I'm about to embark on.. What is a isometric css island? How do you make a isometric css island? This script and codes were developed by Luuk Lamers on 22 January 2023, Sunday.
Isometric css island - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Isometric css island</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="ground"> <b class="fw"></b> <b class="o"></b> <b class="tile green halfheight"></b> <b class="tile green"></b> <b class="tile green"></b> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green halfheight"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile green"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile"></div> <div class="tile green"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile plus1"></div> <div class="tile plus2"></div> <div class="tile plus2"></div> <div class="tile plus1"></div> <div class="tile"></div> <div class="tile green"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile plus1"></div> <div class="tile plus2"></div> <div class="tile plus2"></div> <div class="tile plus1"></div> <div class="tile"></div> <div class="tile green"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile plus1"></div> <div class="tile"></div> <div class="tile green"></div> <div class="o"></div> <div class="o"></div> <div class="tile green"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile"></div> <div class="tile minus1"></div> <div class="tile green halfheight"></div> <div class="o"></div> <div class="o"></div> <div class="tile green halfheight"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green"></div> <div class="tile green halfheight"></div> <div class="tile green quarterheight"></div> <div class="o"></div> <div class="fw">the island</div>
</div>
</body>
</html>
Isometric css island - Script Codes CSS Codes
html { font-size: 18px; font-family: sans-serif; text-align: center; color: #666;
}
body { background: #3fa9f5;
}
.ground { width: 20rem; height: 20rem; background: #f2e888; -webkit-transform: translateY(1rem) rotateX(45deg) rotateZ(45deg); transform: translateY(1rem) rotateX(45deg) rotateZ(45deg); -webkit-backface-visibility: hidden; backface-visibility: hidden; margin: 2rem auto; font-size: 0; -webkit-transition: all 1s ease; transition: all 1s ease; position: relative; -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
}
.ground:hover { -webkit-transform: rotateX(0deg) rotateZ(0deg); transform: rotateX(0deg) rotateZ(0deg);
}
.ground:before,
.ground:after { display: block; position: absolute; content: ''; left: 0; top: 0; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
}
.ground:before { background: #fcef90; width: 100%; height: 1rem; -webkit-transform: translateY(20rem) rotateX(-90deg); transform: translateY(20rem) rotateX(-90deg);
}
.ground:after { background: #e2d681; width: 100%; height: 1rem; -webkit-transform: translateY(20rem) translateX(20rem) rotateX(-90deg) rotateY(90deg); transform: translateY(20rem) translateX(20rem) rotateX(-90deg) rotateY(90deg);
}
.o { display: inline-block; font-size: 1rem; width: 2rem; height: 2rem;
}
.fw { display: inline-block; font-size: 1rem; width: 20rem; height: 2rem; line-height: 2rem;
}
.tile { display: inline-block; font-size: 1rem; width: 2rem; height: 2rem; background: #fff; -webkit-transform: translateZ(2rem); transform: translateZ(2rem); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; position: relative; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.tile:before,
.tile:after { content: ''; position: absolute; width: 2rem; left: 0; height: 2rem; top: 0; display: block; -webkit-transform-origin: 0 0; transform-origin: 0 0; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.tile:before { background: #eee; -webkit-transform: translateY(2em) rotateX(-90deg); transform: translateY(2em) rotateX(-90deg);
}
.tile:after { background: #ddd; -webkit-transform: translateX(2em) translateY(2em) rotateX(-90deg) rotateY(90deg); transform: translateX(2em) translateY(2em) rotateX(-90deg) rotateY(90deg);
}
.green { background: #6daa5c;
}
.green:before { background: #4c7f4c;
}
.green:after { background: #4c7f4c;
}
.halfheight { -webkit-transform: translateZ(1rem); transform: translateZ(1rem);
}
.halfheight:before,
.halfheight:after { height: 1rem;
}
.quarterheight { -webkit-transform: translateZ(0.5rem); transform: translateZ(0.5rem);
}
.quarterheight:before,
.quarterheight:after { height: 0.5rem;
}
.minus1 { -webkit-transform: translateZ(1.5rem); transform: translateZ(1.5rem);
}
.plus1 { -webkit-transform: translateZ(2.5rem); transform: translateZ(2.5rem);
}
.plus2 { -webkit-transform: translateZ(3rem); transform: translateZ(3rem);
}
Developer | Luuk Lamers |
Username | xaddict |
Uploaded | January 22, 2023 |
Rating | 3 |
Size | 2,950 Kb |
Views | 4,048 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Draw SVG polygon points in css | 2,720 Kb |
Continuum | 2,307 Kb |
CSS object-fit fallback with plain JS | 4,895 Kb |
Individual Element rotation | 6,597 Kb |
Bubble Pop Menu | 4,655 Kb |
CSS3 Spinners | 2,878 Kb |
CSSDAY in CSSGRID | 3,387 Kb |
Big Chat | 3,492 Kb |
SVG animated patterns | 2,463 Kb |
Word count percentage | 2,793 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Scoreboard.js basic usage | Tbleckert | 1,733 Kb |
Sample Profile Screen | OurDailyBread | 5,375 Kb |
Mapbox Directions with geolocation tracking | Pollardld | 5,827 Kb |
Roman Numerical Converter | Vhall_io | 2,102 Kb |
Button fills | Zubfatal | 5,205 Kb |
Custom Checkbox and radio inputs SCSS | Rgfx | 3,367 Kb |
Css3 only dropdown menu | Riogrande | 2,519 Kb |
Virtual vinyl | Davidpanik | 3,474 Kb |
IPhone5S SVG Space Grey | Onlinechris | 75,035 Kb |
Twitch | SarahDunlap | 2,937 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!