Splitted Layout
How do I make an splitted layout?
Wanted to create some 3d effect. What is a splitted layout? How do you make a splitted layout? This script and codes were developed by Hornebom on 12 August 2022, Friday.
Splitted Layout - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Splitted Layout</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <section class="CouldBeAnIntro"> <article class="OnTheLeft"> <!-- copy --> </article> <figure class="OnTheRight"> <img src="" alt="" /> <figcaption> <h3>Splitted <br />layout</h3> </figcaption> </figure>
</section> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Splitted Layout - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Titillium+Web:700);
*, *:before, *:after { margin:0; padding:0; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; box-sizing:border-box;
}
.CouldBeAnIntro { width:100%; height:100%; display:flex; display:-webkit-flex; -webkit-flex-flow:row wrap; justify-content:center;
}
.OnTheLeft,
.OnTheRight { position:relative; width:50%; height:100%;
}
.OnTheLeft { background:white; z-index:222; box-shadow:0.5rem 0 1rem rgba(0,0,0,0.2);
}
.OnTheRight {background:#eae8e3;}
h3 { display:block; width:100%; position:absolute; top:5rem; left:-30%; text-transform:uppercase; font-size:4rem; line-height:4rem; letter-spacing:1rem; text-shadow:1.5rem 2.5rem 1rem rgba(0,0,0,0.3);
}
h3:after { content:attr(name); position:absolute; top:0; left:0; height:10rem; width:30%; z-index:333; overflow:hidden; text-shadow:0.8rem 1rem 0.2rem rgba(0,0,0,0.3);
}
body { background:white; font-family: 'Titillium Web', sans-serif; font-weight:700; color:#333;
}
html, body { width:100%; height:100%;
}
Splitted Layout - Script Codes JS Codes
var hl = $( "h3" ).text();
$( "h3" ).attr("name", hl);
Developer | Hornebom |
Username | Hornebom |
Uploaded | August 12, 2022 |
Rating | 4.5 |
Size | 2,162 Kb |
Views | 30,360 |
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 |
Curved Cut | 3,663 Kb |
Ipad Mini Showcase | 10,479 Kb |
Rocker Switch | 5,948 Kb |
BudgetSlider | 3,546 Kb |
Lamp | 2,144 Kb |
Trippy | 2,667 Kb |
Z-index playground | 2,878 Kb |
PPDC Button | 2,520 Kb |
Animated Ghost Button | 2,330 Kb |
Bouncing Btn | 4,699 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 |
Review test | Otro_user_gil | 4,054 Kb |
Fixed with using Calc | Tomleo | 2,542 Kb |
Bootstrap example | Ssaakkaa | 2,716 Kb |
Subscription Newsletter - Before inlining | Bradstrong | 7,526 Kb |
A Pen by Alexandru Pora | Axpro | 1,615 Kb |
VerbalExpressions Converter | Cmalven | 2,607 Kb |
A Different Type of Gallery | DonPage | 2,950 Kb |
Shopping List | Markmurray | 6,015 Kb |
Stylize Stories | Jvhti | 2,465 Kb |
Apex Calculator | Michaelwnelson | 2,370 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!