HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<link rel="stylesheet" href="netflix.css">
<script src="https://kit.fontawesome.com/da3a01af99.js" crossorigin="anonymous"></script>
<title>Netflix Clone</title>
<body>
<!-- Nav heading -->
<div class="fixed-div">
<div class="parent-div">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/netflix%20logo.png?raw=true" alt="netflix img" class="logo">
<div class="dropdown">
<span class="browse-el">Browse</span>
<div class="dropdown-content">
<p>Home</p>
<p><a href='#dramas'>Tv shows</a></p>
<p>Movies</p>
<p><a href='#top-tv'>News & popular</a></p>
<p><a href="#list">My List</a></p>
</div>
</div>
</div>
<!-- notification nav -->
<div class="float-op" style="float: right;">
<div class="search"></div>
</div>
<div class="dropdown2" style="float:right;">
<div class="dropbtn"></div>
<div class="dropdown-content2">
<div class="span-style"></div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/13reason-why.jpeg?raw=true" alt="">
<p>Countinue Watching<br>
13 Reasons Why<br>
<span style= "color:#2D2D2D">Today</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/after-life.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Arrival<br>
Afterlife Of The Party<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/control-zz.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Season<br>
Season 2 is ready to watch.<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/csInapp_112x63.png?raw=true" alt="">
<p>Netflix Lookahead<br>
Explore what's coming soon<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/ijee.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Arrival<br>
Out Of My League<br>
<span style= "color:#2D2D2D">5 days ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/monster-hunt.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Arrival<br>
Monster Hunt<br>
<span style= "color:#2D2D2D">2 days ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/vivo.jpeg?raw=true" alt="">
<p>New Arrival<br>
Vivo<br>
<span style= "color:#2D2D2D">3 weeks ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/out-of-my-league.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Arrival<br>
Ije The Journey<br>
<span style= "color:#2D2D2D">2 days ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/csInapp_112x63.png?raw=true" alt="">
<p>Netflix Lookahead<br>
Explore what's coming soon<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/resort-to-love.jpeg?raw=true" alt="">
<p>Reminder:New Arrival<br>
Resort to love<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
<div class="dropdown-img">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/kissin-booth.jpeg?raw=true" alt="">
<p>🛎 Reminder: New Arrival<br>
Kissing Booth 3<br>
<span style= "color:#2D2D2D">1 day ago</span></p>
</div>
</div>
</div>
<div class="user-img" style="float: right;">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/user.png?raw=true" alt="">
<span class="span-icon"></span>
</div>
</div>
<!-- image and logo -->
<div class="between-img-div">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/between-1.webp" class="between-img" alt="">
</div>
<div class="logo-and-text">
<div class="titleWrapper" style="transform-origin: left bottom; transform: scale(1) translate3d(0px, 0px, 0px); transition-duration: 1300ms; transition-delay: 0ms;">
<div class="billboard-title">
<img class="title-logo" src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/netflixsvg.webp" title="Between" alt="Between">
</div>
</div>
<div class="info-wrapper" style="transform: translate3d(0px, 0px, 0px); transition-duration: 1300ms; transition-delay: 0ms; opacity: 1;">
<div class="info-wrapper-fade" style="opacity: 1; transition-duration: 600ms; transition-delay: 200ms;">
<div class="series-synopsis">After a mysterious disease kills every resident over 21 years old,<br> survivors of a town must fend for<br> themselves when the government quarantines them.</div>
</div>
<button class="color-primary" tabindex="-1" type="button"><div class="ltr-1ksxkn9"><div class="medium ltr-dguo2f" role="presentation">
<svg class="svg-radius" viewBox="0 0 24 24"><path d="M6 4l15 8-15 8z" fill="currentColor"></path></svg></div></div>
<div class="just-div" style="width:1rem"></div>
<span class="info-btn">Play</span></button></a>
<button class="button-secondary" type="button">
<div class="ltr"><div class="medium"><svg class="svg-radius" viewBox="0 0 24 24"><path d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10zm-2 0a8 8 0 0 0-8-8 8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8zm-9 6v-7h2v7h-2zm1-8.75a1.21 1.21 0 0 1-.877-.364A1.188 1.188 0 0 1 10.75 8c0-.348.123-.644.372-.886.247-.242.54-.364.878-.364.337 0 .63.122.877.364.248.242.373.538.373.886s-.124.644-.373.886A1.21 1.21 0 0 1 12 9.25z" fill="currentColor">
</path></svg></div></div>
<div class="more-info" style="width:1rem"></div>
<span class="info-btn">More Info</span></button>
</div></div></div></div></div></div></span>
</div>
<!-- rating -->
<div class="ratin-div" style="float: right;">
<button aria-label="Replay" class="color-supplementary" type="button">
<div class="small-div">
<svg class="style-svg" viewBox="0 0 24 24">
<path d="M20 12.35l1.919-1.371 1.162 1.627-4.08 2.915-4.082-2.915 1.162-1.627L18 12.349V12c0-3.87-3.13-7-7-7s-7 3.13-7 7 3.13 7 7 7c1.93 0 3.68-.79 4.94-2.06l1.42 1.42A8.954 8.954 0 0 1 11 21a9 9 0 1 1 9-9v.35z" fill="currentColor">
</path></svg>
</div></button>
<span class="rating">
<span class="maturity-number">16+</span>
</span></div>
</div>
<!-- drama collection -->
<section class="all-drama">
<div class="tv-dramas"id="dramas">
<h2 class="tvd-h2">Tv Dramas</h2>
<div class="div-width">
<div class="all-movie-div">
<div class="orange">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/orange%20is%20the%20new.jpg?raw=true" alt="orange image">
</div>
<div class="outerbanks">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/outer-banks.jpg?raw=true" alt="outerbanks image">
</div>
<div class="gooddoctor">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/gooddoctor.webp" alt="gooddoctor image">
</div>
<div class="teenwolf">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/teenwolf.webp" alt="teenwolf image">
</div>
<div class="vincezo">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/vincenzo.jpg?raw=true" alt="vincenzo image">
</div>
<div class="nevertheless">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/nevertheless.jpg?raw=true" alt="nevertheless image">
</div>
<div class="notokay">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/it%20is%20okay%20to%20not%20be%20okay.jpg?raw=true" alt="netflix not okay series img">
</div>
</div>
</div>
</div>
<div class="aror">
<a class="prev">❮</a>
<a class="next">❯</a>
</div>
<!-- trending now -->
<div class="trending-now">
<h2 class="all-tvd-h2">Trending now</h2>
<div class="second-div-width">
<div class="second-all-movie-div">
<div class="control-z">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/controlz.jpg?raw=true" alt="contro z">
</div>
<div class="crazy-rich-asians">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/crazy%20rich%20asian.webp" alt="crazy-rich-asians">
</div>
<div class="blood">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/blood.jpg?raw=true" alt="blood series">
</div>
<div class="mimi">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/mimi.webp" alt="mimi">
</div>
<div class="my-secrete-romance">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/secrete%20romance.webp" alt="my-secrete-romance">
</div>
<div class="insatiable">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/insatiable.jpg?raw=true" alt="insatiable">
</div>
<div class="tempted">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/tempted.webp" alt="tempted">
</div>
</div>
</div>
</div>
<div class="aror">
<a class="prev">❮</a>
<a class="next">❯</a>
</div>
<!-- my list -->
<div class="my-list" id="list">
<h2 class="h2list">My List</h2>
<div class="list-div-width">
<div class="second-div-list">
<div class="nevertheless-list">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/nevertheless.jpg?raw=true" alt="">
</div>
<div class="ije">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/ije.webp" alt="ije">
</div>
<div class="controlz-list">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/controlz.jpg?raw=true" alt="control-z">
</div>
<div class="hwarang">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/hwarang.webp" alt="hwarang">
</div>
<div class="one-day">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/oneday.webp" alt="one day">
</div>
<div class="blood-in-list">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/blood.jpg?raw=true" alt="blood">
</div>
<div class="blade">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/blade.webp" alt="blade series">
</div>
<div class="vincezo">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/vincenzo.jpg?raw=true" alt="vincenzo image">
</div>
</div>
</div>
</div>
</div>
<div class="aror">
<a class="prev">❮</a>
<a class="next">❯</a>
</div>
<!-- only on netflix -->
<div class="only-on-netflix">
<h2 class="tvtvd-h2">Only On Netflix</h2>
<div class="netflix-div-width">
<div class="netflix-all-movie-div">
<div class="nevertheless-list">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/never-big-img.webp" alt="">
</div>
<div class="ije">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/vincenzo-bigimg.webp" alt="ije">
</div>
<div class="controlz-list">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/not%20okaybig%20img.webp" alt="control-z">
</div>
<div class="hwarang">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/outerbanks%20bigimg.webp" alt="hwarang">
</div>
<div class="one-day">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/spaceswipper.webp" alt="one day">
</div>
<div class="blood-in-list">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/blood%20red%20sky.webp" alt="blood">
</div>
<div class="blade">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/blood%20and%20water%20bigimg.webp":alt="blade series">
</div>
<div class="image">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/cha-cha-hometpwn.webp" alt="cha-cha-hometpwn">
</div>
<div class="image">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/Hes-all-that.jpg?raw=true" alt="he's all that" width="250">
</div>
<div class="image">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/sweet-girl.jpg?raw=true" alt="" width="250">
</div>
<div class="image">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/king-of-boys.webp" alt="">
</div>
</div>
</div>
</div>
</div>
<div class="top10-now" id="top-tv">
<h2 class="top10-tvd-h2">Top 10 In Nigeria</h2>
<div class="top10-div-width">
<div class="top10-all-movie-div">
<div class="quams-money">
<div class="topp-one"></div>
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/quans%20money.webp" alt="quams money">
</div>
<div class="top2-film-nigerial">
<div class="half-circle"></div>
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/top%20two%20netflix.webp" alt="72 film" class="imange">
</div>
<div class="mercenary">
<div class="number-three-css"></div>
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/mercenary.webp" alt="mercenary series">
</div>
<div class="div-number-four">
<div class="number-four"></div>
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/resort%20to%20love.jpeg?raw=true" alt="Resort to love">
</div>
<div class="div-number-five">
<div class="number-five-css"></div>
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/ije%20top%20five.webp" alt="ije">
</div>
<div class="div-number-6">
<div class="number-six">6</div>
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/sex%20life.jpeg?raw=true" alt="sex life" class="sex-life-img">
</div>
<div class="div-number-7">
<div class="number-seven"></div>
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/sex%20life.jpeg?raw=true" alt="sex life">
</div>
</div>
</div>
</div>
<div class="aror">
<a class="prev">❮</a>
<a class="next">❯</a>
</div>
<!-- women behind the screen -->
<div class="my-list div-list">
<h2 class="h2list" style="position:relative; top:60px">Women behind the screen</h2> <a class="sec-next">❯</a>
<div class="list-div-width">
<div class="second-div-list">
<div class="nevertheless-list">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/intern.webp" alt="">
</div>
<div class="ije">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/what%20girl%20wants.webp" alt="ije">
</div>
<div class="controlz-list">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/five%20feet.webp" alt="control-z">
</div>
<div class="hwarang">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/wonderwoman.webp" alt="hwarang">
</div>
<div class="one-day">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/enchanted.webp" alt="one day">
</div>
<div class="blood-in-list">
<img src="https://github.com/Chinemereem/Netflix-clone/blob/master/images/jiva.jpeg?raw=true" alt="blood">
</div>
<div class="blade">
<img src="https://raw.githubusercontent.com/Chinemereem/Netflix-clone/master/images/angel.webp" alt="blade series">
</div>
</div>
</div>
</div>
</div>
<div class="aror">
<a class="prev">❮</a>
<a class="next">❯</a>
</div>
<footer>
<div class="grid-container">
<div class="grid-item">
<span><i class="fab fa-facebook-square"></i></i></span>
<span><i class="fab fa-instagram"></i></span>
<span><i class="fab fa-youtube"></i></span>
<p>Audio and Subtitle</p>
<p>Media Center</p>
<p>Privacy</p>
<p>Contact Us</p>
<p class="p-grid">Service code</p>
<p>©1997-2021 Netflix, inc,(7cBab736-9ae4-4251-9ea9-cf9fdd09f7cc)</p>
</div>
<div class="grid-item">
<p>Audio Description</p>
<p>Investor Relations</p>
<p>Legal Notices</p></div>
<div class="grid-item">
<p>Help Center</p>
<p>Jobs</p>
<p>Cookie Preference</p>
</div>
<div class="grid-item">
<p>Gift Cards</p>
<p>Terms Of Use</p>
<p>Corperate Information</p>
</div>
</footer>
</section>
*{
box-sizing: border-box;
padding:0;
}
a{
text-decoration:none;
color: #BDBDBD;
}
html{
height:160vh;
}
body{
background-color: #141414;
color: #BDBDBD;
font-family: Arial;
overflow-x: hidden;
height:160vh;
}
/* nav headiing */
.fixed-div{
background-color: #111111;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 70px;
z-index: 4;
}
.parent-div{
height: 50px;
}
.logo{
width: 90px;
margin-left: 40px;
margin-top: 10px;
}
/* dropdown content */
.dropdown{
position: relative;
left: 100px;
}
.dropdown-content{
display: flex;
position: relative;
top: -50px;
left: 50px;
}
.dropdown-content p{
margin: 25px 10px;
}
.dropdown p:hover{
font-weight: bolder; color: white;
}
.browse-el{
display: none;
}
/* notification nav */
.float-op{
position: relative;
top: -37px;
left:-120px;
}
.search{
margin: 0 auto;
top:38px;
border: 2px solid #ffffff;
width: 16px;
height: 16px;
border-radius: 50%;
}
.search::after{
content: "";
position: absolute;
width: 5px;
height: 10px;
top:70%;
left:10px;
background: #ffffff;
transform: rotate(-50deg);
border-radius: 10px;
}
.user-img{
position: relative;
top: -40px;
left:6px;
}
.user-img img{
border-radius: 5px;
}
.span-icon{
width: 0px;
height: 0px;
border-top: 8px solid #E5E5E5;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
position: absolute;
margin: 10px -0px;
}
/* notificatin dropdown */
.dropbtn {
background-color: #ffffff;
cursor: pointer;
transform: translateY(-50%);
transform-origin: 50% 0%;
width: 15px;
height: 10px;
border-radius: 28px 28px 0 0;
z-index: 4;
}
.dropbtn::after{
content: "";
position: absolute;
border-radius: 100px;
width: 12px;
height: 12px;
top:109%;
left:10%;
background-color: #FFFFFF;
z-index: -1;
}
.dropbtn:before{
content: "";
position: absolute;
border-top-left-radius: 1100px;
border-top-right-radius: 1100px;
width: 22px;
height: 10px;
top:70%;
left:-23%;
background-color: #FFFFFF;
}
.dropdown2 {
position: relative;
top: -35px;
left:-66px;
display: inline-block;
z-index: 3;
}
.dropdown-content2 {
display: none;
position: absolute;
top: 20px;
right: 0;
background-color:rgba(0, 0, 2, .5);
border-top: 3px solid #757676;
min-width: 380px;
height: 400px;
overflow-y: scroll;
padding: 20px;
box-shadow: 0px 8px 16px 0px rgba(27, 26, 26, 0.2);
z-index: 1;
}
.span-style{
width: 0px;
height: 0px;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 10px solid #E5E5E5;
position: relative;
top: -25px;
left: 345px;
}
.dropdown-img{
display: flex;
border-bottom: solid 2px #343434;
margin-top: 8px;
}
.dropdown-content2 img{
border-radius: 5px;
margin-left: -10px;
}
.dropdown-img p{
margin-top: -2px;
margin-left: 10px;
}
.dropdown-content2 p {
color: #ccc;
}
.dropdown-content2 p:hover {background-color: #222;width: 100%;}
.dropdown2:hover .dropdown-content2 {display: block;}
.dropdown2:hover .dropbtn {background-color: #ccc;}
/* image and logo */
.between-img-div{
position: relative;
top: 10px;
}
.logo-and-text{
position: relative;
margin-left: 40px;
margin-top: 60px;
top: -630px;
}
.between-img{
height: 530px;
width: 100%;
}
.series-synopsis{
margin-top: 10px;
}
button{
margin-top: 20px;
}
.svg-radius{
width: 20px;
display: flex;
margin-top: 10px;
margin-left: 10px;
}
.info-btn{
margin-left: 20px;
position: relative;
top: -17px;
}
.color-primary{
background-color:#FFFFFF ;
border: none;
width: 95px;
height: 40px;
border-radius: 3px;
}
.button-secondary{
background-color: #4F4F4F;
border: none;
width: 110px;
height: 40px;
border-radius: 3px;
margin-left: 10px;
}
.ratin-div{
position: relative;
top: -670px;
}
/* rating */
.maturity-number{
position: relative;
top: -8px;
background-color:rgba(0, 0, 0, .5);
padding: 9px;
padding-right: 50px;
border-left: 3px solid #ffffff ;
}
.style-svg{
width: 30px;
color: black;
}
.all-drama{
background-color: #141414;
position: relative;
top: -640px;
}
/* drama collection */
.tv-dramas{
margin-left: 40px;
margin-top: 70px;
}
.tvd-h2{
position: relative;;
top: -45px;
}
.div-width{
width: 100%;
cursor: pointer;
overflow-x: auto;
margin-top: -45px;
}
.all-movie-div{
display: flex;
}
.all-movie-div img{
border-radius: 4px;
margin-left: 5px;
}
.second-all-movie-div{
display: flex;
}
.all-tvd-h2{
position: relative;;
top: 15px;
}
/* Next & previous buttons */
.sec-next{
cursor: pointer;
position: relative;;
top: 16px;
left: 290px;
width: auto;
padding: 16px;
margin-top: -22px;
color: white;
background-color: none;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
.prev, .next {
cursor: pointer;
position: relative;;
top: -100px;
left: -10px;
width: auto;
padding: 26px;
margin-top: -22px;
color: white;
background-color: none;
font-weight: bold;
font-size: 30px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}
.next {
float:right;
border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
color: white;
}
/* Trending now collection */
.trending-now{
margin-left: 40px;
margin-top: -40px;
}
.second-all-movie-div img{
border-radius: 4px;
margin-left: 6px;
}
.second-div-width{
width: 100%;
cursor: pointer;
overflow-x: auto;
}
.h2list{
position: relative;;
top: 30px;
}
/* My list collection */
.my-list{
margin-left: 40px;
margin-top: -70px;
}
.second-div-list img{
border-radius: 4px;
margin-left:10px
}
.second-div-list{
display: flex;
}
.list-div-width{
width: 100%;
cursor: pointer;
overflow-x: auto;
margin-top: 40px;
}
/* only on netflix colllection */
.only-on-netflix{
margin-left: 40px;
margin-top: -40px;
}
.netflix-all-movie-div img{
border-radius: 4px;
margin-left: 6px;
height: 450px;
}
.netflix-div-width{
width: 100%;
cursor: pointer;
overflow-x: auto;
margin-top: 40px;
}
.netflix-all-movie-div{
display: flex;
}
.tvtvd-h2{
position: relative;
top: 30px;
}
/* Top 10 */
.top10-now{
margin-left: 40px;
height: 250px;
overflow-y: hidden;
}
.top10-all-movie-div img{
border-radius: 4px;
margin-left: 80px;
width: 150px;
}
.top10-div-width{
width: 100%;
cursor: pointer;
overflow-x: auto;
overflow-y: hidden;
}
.top10-all-movie-div{
display: flex;
}
.top10-tvd-h2{
position: relative;;
top: 10px;
}
.topp-one{
width: 40px;
height: 70px;
background: #000000;
transform: rotate(60deg);
position: relative;
top: 0px;
left: 20px;
border-left: 3px solid #4E4E4E;
border-right: 3px solid #4E4E4E;
border-bottom: 3px solid #4E4E4E;
border-top: 3px solid #4E4E4E;
}
.topp-one::before{
width: 40px;
height: 167px;
background: #000000;
position: absolute;
left: 60px;
top: -60px;
content: "";
transform: rotate(-60deg);
border-right: 4px solid #4E4E4E;
border-bottom: 4px solid #4E4E4E;
}
.quams-money img{
position: relative;
left: 15px;
top: -70px;
}
.topp-2{
font-size: 14rem;
position: relative;
top: -45px;
left: 20px;
color: #000000;
}
.top2-film-nigerial{
position: relative;
left: -70px;
top: -10px;
}
.top2-film-nigerial img{
position: relative;
margin: -105px 0 0 195px;
}
/* CSS NUMBER 2 */
.half-circle {
/* Create the circle */
width: 110px;
height: 110px;
border: 32px solid #4E4E4E;
border-radius: 50%;
/* Halve the circle */
border-bottom-color: transparent;
border-left-color: transparent;
/* Rotate the circle */
transform: rotate(-15deg);
margin-left: 100px;
position: relative;
top:10px;
}
.half-circle:before{
width: 35px;
height: 125px;
background-color: #000000;
border-right: 4px solid #4E4E4E;
border-bottom-color: #4E4E4E;
border-left-color: #4E4E4E;
transform: rotate(50deg);
content: "";
position: absolute;
left: -2px;
top: 15px;
border-radius: 0 0 0px 50px;
}
.half-circle::after{
content: "";
width: 110px;
height: 35px;
background-color: #000000;
border-right: 4px solid #4E4E4E;
border-bottom: 4px solid #4E4E4E;
border-bottom-color: #4E4E4E;
border-left-color: #4E4E4E;
transform: rotate(15deg);
position: absolute;
left: -33px;
top: 100px;
}
/* Number 3 css */
.mercenary{
position: relative;
left: -130px;
top: -10px;
}
.mercenary img{
position: relative;
margin: -120px 0 0 145px;
}
.number-three-css {
position: relative;
left: -35px;
top: 10px;
width: 90px;
height: 120px;
border: 27px solid #4E4E4E;
border-radius: 50% 50% 50% 50%;
border-bottom-color: transparent;
border-top-width: 20px;
border-left-color: transparent;
transform: rotate(-10deg);
margin-left: 100px;
}
.number-three-css::before{
width: 16px;
height: 40px;
background-color: #000000;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
transform: rotate(60deg);
margin-left: 100px;
content: "";
position: absolute;
left: -82px;
top: 40px;
border-radius: 10px 0 30px 0px;
}
.number-three-css::after{
width: 50px;
height: 50px;
border: 25px solid #000000;
border-radius: 50% 50% 50% 50%;
border-bottom-color: #000000;
border-top-width: 10px;
border-left-color: transparent;
transform: rotate(20deg);
margin-left: 100px;
content: "";
position: absolute;
left: -135px;
top: 55px;
}
/* Div Number Four */
.div-number-four{
position: relative;
left: -180px;
top: -20px;
}
.div-number-four img{
position: relative;
margin: -105px 0 0 175px;
}
.number-four {
width: 35px;
height: 130px;
background-color: #000000;
transform: rotate(40deg);
margin-left: 100px;
border-radius: 0px 0px 5px 10px;
border-right: 4px solid #4E4E4E;;
border-left: 4px solid #4E4E4E;;
position: relative;
top: 20px;
}
.number-four::before{
width: 30px;
height: 120px;
background-color:#000000;
transform: rotate(50deg);
margin-left: 100px;
content: "";
position: absolute;
left: -65px;
top: 40px;
border-radius: 0px 0px 0px 10px;
border-right: 4px solid #4E4E4E;;
border-top: 4px solid #4E4E4E;;
border-bottom: 4px solid #4E4E4E;;
}
.number-four::after{
width: 30px;
height: 165px;
background-color: black;
transform: rotate(-40deg);
margin-left: 100px;
content: "";
position: absolute;
left: -58px;
top: -28px;
border-radius: 5px 5px 0px 10px;
border-right: 4px solid #4E4E4E;;
border-top: 4px solid #4E4E4E;;
border-left: 2px solid #4E4E4E;;
}
/* Number five css */
.div-number-five{
position: relative;
left: -170px;
top: -10px;
}
.div-number-five img{
position: relative;
margin: -40px 0 0 100px;
}
.number-five-css {
width: 25px;
height: 55px;
background-color: #4E4E4E;
border-right: 4px solid #4E4E4E;
border-top: 20px solid #4E4E4E;
margin-left: 100px;
transform: rotate(90deg);
position: relative;
left: -40px;
top: 10px;
}
.number-five-css::before{
width: 20px;
height: 55px;
background-color: #000000;
border-right: 4px solid #4E4E4E;
border-top: 20px solid #4E4E4E;
transform: rotate(-60deg);
margin-left: 100px;
content: "";
position: absolute;
left: -75px;
top: 5px;
border-radius: 10px 0 30px 0px;
}
.number-five-css::after{
width: 60px;
height: 70px;
border: 25px solid #000000;
border-radius: 70% 50% 30% 30%;
border-bottom-color: #000000;
border-top-width: 15px;
border-bottom-width: 20px;
border-left-color: transparent;
transform: rotate(-90deg);
margin-left: 100px;
content: "";
position: absolute;
left: -50px;
top: -18px;
}
/* Number Six */
.div-number-6{
position: relative;
left: -160px;
top: -10px;
}
.sex-life-img{
position: relative;
top: -450px;
left: 10px;
}
.number-six{
font-size: 14rem;
color: #4E4E4E;
border-radius: 50%;
position: relative;
left: -95px;
top: -130px;
margin: 100px;
border-left-width: 2px;
}
/* Number Seven */
.div-number-7{
position: relative;
left: -225px;
top: 150px;
}
.div-number-7 img{
position: relative;
top: -250px;
left: -40px;
}
.number-seven{
width: 40px;
height: 96px;
background-color: #000000;
transform: rotate(90deg);
position: relative;
left: -10px;
top: -180px;
border: 4px solid #4E4E4E
}
.number-seven::before{
width: 38px;
height: 130px;
background-color: #000000;
transform: rotate(90deg);
content: "";
position: absolute;
left: 73px;
top: -40px;
transform: rotate(-80deg);
border-left: 4px solid #4E4E4E;
border-right: 4px solid #4E4E4E;
border-bottom: 4px solid #4E4E4E;
}
/* Footer */
.grid-container {
display: grid;
grid-template-columns: auto auto auto auto;
font-size: 13px;
color: #676767;
margin-top: 40px;
}
.grid-item {
padding: 15px;
text-align: center;
}
.grid-container:hover{
cursor: pointer;
}
.grid-item span{
margin-left: 10px;
font-size: large;
}
::-webkit-scrollbar {
width: 0px;
height: 0px;
}
/* media quries */
@media (max-width: 768px) {
.dropdown{
margin-bottom: 30px;
display: inline-block;
text-align: center;
cursor: pointer;
}
.browse-el{
display: block;
position:relative;
top: -10px;
margin-left: -40px;
}
.dropdown-content{
display: none;
position: absolute;
top: 20px;
left: -135px;
height: 300px;
background-color: rgba(0, 0, 0, .5);
min-width: 260px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 10px;
z-index: 1;
font-weight: lighter;
border-top: 3px solid #E5E5E5;
border-left: 1px solid #E5E5E5;
border-right: 1px solid #E5E5E5;
border-bottom: 1px solid #E5E5E5;
}
.dropdown-content::before{
width: 0px;
height: 0px;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 15px solid #E5E5E5;
position: absolute;
left: 110px;
top: -18px;
content: "";
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-content p:hover {
background: #0D0D0D;
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
width: 100%;
margin: 0;
}
.between-img{
height: 410px;
}
.logo-and-text{
top: -400px;
width: auto;
margin-top: 0px;
}
.title-logo{
width: auto;
height: 20vh;
}
.ratin-div{
top: -465px;
}
.all-drama{
top: -400px;
}
}
@media (max-width: 400px) {
body{
font-size: small;
width: 100%;
}
.logo{
margin-left: 30px;
}
.dropdown2 {
left:-50px;
}
.browse-el{
margin-left: -120px;
}
.dropdown-content{
left: -190px;
}
.dropdown-content2 {
min-width: 220px;
}
.float-op{
left: -100px;
}
.user-img{
left: 10px;
}
.sec-next{
left: 230px;
top: 25px;
}
.title-logo{
margin-top: 20px;
}
.logo-and-text{
margin-left: 20px
}
.grid-container {
grid-template-columns: auto auto;
}
}
Also see: Tab Triggers