Треугольники с бутстрапом

by Chuck Tornton

HTML

<script src="//code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<link rel="stylesheet" href="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
<script src="//stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- 
  Bootstrap docs: https://getbootstrap.com/docs
-->

<div class="container">
  <div class="sectionOnMain1">

    <div class="sectionOnMain1Left">
      <div class="textColumn">
        <span class="newDesign">New Design</span>
        <span class="otherPlatform">There is no other platforms for you as like
          <span>...</span>
        </span>
        <span>
          Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem dicta dignissimos enim eos exercitationem facilis fugiat ipsum obcaecati odio officia placeat qui, quidem ratione reiciendis repellat similique tempore voluptas? Iusto.
        </span>
      </div>
    </div>
    <div class="sectionOnMain1Right"></div>

  </div>
  <div class="block2">
    <div class="rightBlock"></div>
    <div class="leftBlock"></div>
  </div>
</div>

CSS

html,
body {
  margin: 0;
  padding: 0;
  background: blanchedalmond;
}

.container {
  background: gray;
  margin-top: 100px;
  overflow: hidden;
  min-height: 1000px;
  padding-top: 100px;
  padding: 0;
  border: 2px solid black;
}

.block0 {
  width: 100%;
  float: left;
  background: blueviolet;
}

.block1 {
  width: 100%;
  background: #345345;
  float: left;
}

.block2 {
  width: 100%;
  float: left;
  background: blueviolet;
  min-height: 600px;
}

.leftBlock {
  width: 500px;
  height: 500px;
  background: #ff6d6d91;
  transform: rotate(45deg);
  float: left;
  margin-left: -265px;
  margin-top: 100px;
}

.rightBlock {
  width: 500px;
  height: 500px;
  position: relative;
  background: #ff6d6d91;
  transform: rotate(45deg);
  margin-right: -265px;
  top: -250px;
  float: right;
}

.sectionOnMain1 {
  display: flex;
  width: 100%;

}

.sectionOnMain1Left {
  min-height: 500px;
  background: #fff;
  min-width: 65%;
  display: flex;
  justify-content: center;
}

.sectionOnMain1Right {
  min-height: 500px;
  background: darkgray;
  min-width: 35%;
}

.textColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  text-align: justify;

}

.otherPlatform {
  font-size: 35px;
}

.newDesign {
  font-size: 20px;
  color: red;
}