Loading

50/50 Full width Module

<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  <title>50/50 Full width Module</title>
  
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>
  <section class="full-width-50-module">

    <!-- Content -->
    <div class="half-block block-content block-left">

        <div class="content-wrapper">

            <h3 class="caps">Solutions for any size</h3>
            <h2 class="title">Small & Medium Sized Business</h2>
            <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>

        </div>

    </div>

    <!-- Image slider -->
    <div class="half-block block-img block-right">

    
      <img src="https://images.unsplash.com/photo-1496297679486-1a1607669129?dpr=2&auto=format&fit=crop&w=1500&h=2250&q=80&cs=tinysrgb&crop=)">

</section>
  
  
</body>
</html>
/* Downloaded from https://ahoj.co.uk/ */
.full-width-50-module {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  vertical-align: baseline;
}

.half-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.block-content {
  background: #222;
  padding: 110px 40px;
  color: #fff;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.block-left {
  vertical-align: baseline;
}

.block-right {
  vertical-align: baseline;
}

.block-img img {
  max-width: 100%;
  vertical-align: baseline;
  width: 100%;
}
/* Downloaded from https://ahoj.co.uk/ */

This awesome code is write by Cameron Campbell, you can se more from this user in the personal repository