JSFiddle - React, Tailwind, and code Playground

by ian_smithz

HTML

<link rel="stylesheet" href="https://www.screwfix.com/assets/css/sfx.min.css">
<script src="https://www.screwfix.com/images/general/assets/video/sfx_yt_video.js"></script>
<main id="container-main" class="wrp">
<div class="inner">
<div id="ssb_gridpsace_8" class="ssb_gridspace"><div class="full_width_banner main-header"><div class="full_width_wrp" style="width: 1353px; left: -106.5px;">
			
				<div class="banner-mg-wrap">
					
						<h1 class="ib-title">Legends of the Game</h1>
					
					<a href="" title="Legends of the Game">
						<img data-src-small="//www.screwfix.com/images/general/assets/gfx/worldcup_header_sm.png" data-src-medium="//www.screwfix.com/images/general/assets/gfx/worldcup_header_md.png" data-src-large="//www.screwfix.com/images/general/assets/gfx/worldcup_header_lg.png" class="swap" data-alt="Legends of the Game" src="//www.screwfix.com/images/general/assets/gfx/worldcup_header_lg.png">
					 </a>
				</div>
			
</div></div><div class="row-wrp--mod--h2fix">
<span class="row-title">
<h2>Alan Ball</h2>
</span>
</div><div class="alan-ball"><div class="videoblock row-wrp--mod">

<div class="row d-flex">

   <div class="lg-12 md-24 sm-24 cols flex-order-2"> 
    <div class="seo_copy">
		<p>Alan Ball is to Carpentry what Alan Ball was to football, permanently on the go. He has plenty of big projects and plenty of appetite to finish them to a gold-winning standard which is why he buys his tools from Screwfix.</p>
		<p><strong>On site nickname:</strong> Bally</p>
		<p><strong>Trade:</strong> Carpenter</p>
		<p><strong>Favourite Team:</strong> Watford</p>
		<p><strong>Local Screwfix Store:</strong> Hempel Hempstead &amp; Luton</p>
	</div>
</div>
	

 <div class="lg-12 md-24 sm-24 cols flex-order-1">   
    <div class="home-video-iframe-container">
      <div class="home-video-iframe-inner">
        <div class="home-video-iframe-thumbnail" data-video="O4xU-5L20pg">
          <button class="ytp-large-play-button ytp-button">
            <svg...

CSS

@media (min-width: 1025px) {
  .d-flex {
    display: flex
  }
  .flex-order-1 {
    order: 1
  }
  .flex-order-2 {
    order: 2
  }
  .pl-20 {
    padding-left: 20px
  }
}

.home-video-iframe-container {
  margin-bottom: 0px;
}

.ytp-large-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  margin-top: -24px;
  -moz-transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1);
  -webkit-transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1);
  transition: opacity 0.25s cubic-bezier(0, 0, 0.2, 1)
}

.ytp-button {
  border: none;
  background-color: transparent;
  padding: 0;
  color: inherit;
  text-align: inherit;
  font-size: 100%;
  font-family: inherit;
  cursor: default;
  line-height: inherit
}

.ytp-button:not([aria-disabled=true]):not([disabled]):not([aria-hidden=true]) {
  cursor: pointer
}


.alan-ball .home-video-iframe-thumbnail {
  background: url(//www.screwfix.com/images/general/assets/gfx/worldcup_alanball.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media only screen and (min-width: 64em) {
  .home-video-iframe-container {
    height: 376px;
  }
  .alan-ball .home-video-iframe-thumbnail {
    background: url(//www.screwfix.com/images/general/assets/gfx/worldcup_alanball_lg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .home-video-iframe-container .home-video-iframe-inner {
    height: 354px;
  }
}

/*sml-only*/

@media only screen and (max-width: 40em) {
  .home-video-iframe-container {
    padding: 6px;
  }
}

.legendsLogo {
  width: 233px;
  height: 115px;
  display: block;
}

.world-cup .row-wrp--mod--h2fix {
  margin: 0 -.3em;
}

.world-cup .full_width_wrp {
  position: relative;
  background-color: #11539a;
  -webkit-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
 ...