JSFiddle - React, Tailwind, and code Playground

by zerrax

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/base/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
 
<div class="page">
<div   onscroll="loadNewpages(this)" class="p">
<div style="background-image:url(//img.betaseries.com/aNFwhyiJ2LI0VGmOHh2fjeKNdNE=/1440x320/smart/https%3A%2F%2Fpictures.betaseries.com%2Ffonds%2Fshow%2F12_960483.jpg);">
<span>
  <div class="header-right">
        <h1>Big Fish</h1>
        <h2>2003<span>2h05</span></h2>
       <p> “Proven Innocent” racconta la storia emotiva della lotta di una donna per dimostrare l’innocenza di persone condannate ingiustamente. Il dramma legale segue una sfortunata società di difesa criminale guidata da un avvocato feroce e intransigente, Madeline Scott, che è stato ingiustamente condannato in un caso di omicidio sensazionale che l’ha resa una famigerata ossessione mediatica. Madeline gestisce lo studio legale con il suo socio, Easy Boudreau, l’avvocato che l’ha aiutata a liberarsi dopo 10 anni di carcere. Il loro team comprende anche l’investigatore Bodie Quick e il direttore delle comunicazioni Violet Price, che gestisce un vero podcast criminale che segue ogni indagine.</p> 
        
        <div class='info'>
          <h4>Director:</h4>
          <h5>Tim Burton</h5>
        </div>
        <div class='info'>
          <h4>Starring: </h4>
          <h5>Ewan McGregor, Albert Finney, Billy Crudup </h5>
        </div>
        <div class='info'>
          <h4>Genres:</h4>
          <h5>Family, Children</h5>
        </div>
      </div>

</span>

</div>

<ul class="carousel playts">
  <li style=" background-image:url(https://pictures.betaseries.com/fonds/banner/6622_1415360495.jpg);">
    <div>
    <a>Epsiode 1</a>
    <ul id="star-rating">
<li class="rated">1</li>
<li class="rated">2</li>
<li...

CSS

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
body{
  background:#111;
  }
.u {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 10px;
}

.u li {
  background-color: #fff;
  border-radius: 3px;
  padding: 20px;
  font-size: 14px;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
}

.hidden {
  display: none;
}
.page{
  width:100%;
  overflow: hidden;
}
.p{ 
  overflow-y: scroll;
  width:calc(100% + 20px);
}
.page > .p {
  overflow:hidden;
}
.page > .p > div {
position:relative;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
overflow:hidden;
height:300px;
}
.page > .p > div > span{
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  background: rgb(0,0,0);
background: -moz-linear-gradient(90deg, rgba(0,0,0,0.9051821412158614) 0%, rgba(3,3,3,0.8995799003195029) 25%, rgba(40,40,40,0.5382353625043768) 100%);
background: -webkit-linear-gradient(90deg, rgba(0,0,0,0.9051821412158614) 0%, rgba(3,3,3,0.8995799003195029) 25%,...