Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

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.

+ add another resource

Packages

Add Packages

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.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container">
  <section class="background-image"></section>
  <section class="content">
    <header>
      <div class="logo">essi2</div>
      <div class="new-lang"><a href="https://codepen.io/ehsanamiri9214/full/PNwgZG" target="_blank">fa</a></div>
    </header>
    <section class="parent-section">
      <input type="radio" name="radio" id="home" checked>
      <label for="home" id="lhome">home
                </label>
      <div class="bomb"></div>
      <input type="radio" name="radio" id="skill">
      <label for="skill" id="lskill">skill
                </label>
      <div class="bomb"></div>
      <input type="radio" name="radio" id="portfolio">
      <label for="portfolio" id="lportfolio">portfolio
                </label>
      <div class="bomb"></div>
      <input type="radio" name="radio" id="gallery">
      <label for="gallery" id="lgallery">gallery
                </label>
      <div class="bomb"></div>
      <input type="radio" name="radio" id="video">
      <label for="video" id="lvideo">video
                </label>
      <div class="bomb"></div>
      <input type="radio" name="radio" id="contact">
      <label for="contact" id="lcontact">contact
                </label>
      <div class="bomb"></div>
      <section class="home">
        <article class="part1">
          <header>
            <h1>hello
                            <br>world.</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
        </article>
        <article class="part2">
          <div class="inner-content"></div>
        </article>
      </section>
      <section class="skill">
        <article class="part1">
          <header>
            <h1>skill</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
        </article>
        <article class="part2">
          <div class="inner-content">
            <ul>
              <li>html5</li>
              <li>css3</li>
              <li>javascript</li>
            </ul>
          </div>
        </article>
      </section>
      <section class="portfolio">
        <article class="part1">
          <header>
            <h1>portfolio</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
        </article>
        <article class="part2">
          <div class="inner-content">
            <ul>
              <li>list items</li>
              <li>list items</li>
              <li>list items</li>
              <li>list items</li>
              <li>list items</li>
            </ul>
          </div>
        </article>
      </section>
      <section class="gallery">
        <article class="part1">
          <header>
            <h1>gallery</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
        </article>
        <article class="part2">
          <div class="inner-content">
            <ul>
              <li></li>
              <li></li>
              <li></li>
              <li></li>
              <li></li>
            </ul>
          </div>
        </article>
      </section>
      <section class="video">
        <article class="part1">
          <header>
            <h1>video</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
        </article>
        <article class="part2">
          <div class="inner-content">
            <iframe width="854" height="480" src="https://www.youtube.com/embed/hBY3t1FheoE" frameborder="0" allowfullscreen></iframe>
          </div>
        </article>
      </section>
      <section class="contact">
        <article class="part1">
          <header>
            <h1>contact</h1></header>
          <p>Lorem ipsum dolor sit amet, ei per autem ceteros dolores, nostrud qualisque mediocritatem ut qui. Et vel justo dolor, putant oblique persecuti eu mei. Eum congue causae referrentur et, nec ex impetus nonumes invidunt, tale audire nostrud ne
            vim. Nulla cotidieque sed ei.
            <br>
            <br>Ex propriae voluptatibus sit, sed an possim ornatus reprimique. Usu debet principes an. Et vis aeterno dolores detraxit.
          </p>
          <br>
          <p>Code by <a href="https://codepen.io/ehsanamiri9214/" target="_blank">Ehsan Amiri(Essi)</a>.</p>
        </article>
        <article class="part2">
          <div class="inner-content">
            <form action="">
              <input type="text" value="Name">
              <input type="text" value="E-Mail">
              <textarea name="" id="" cols="30" rows="7"></textarea>
              <input type="submit">
            </form>
          </div>
        </article>
      </section>
    </section>
  </section>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Amiri);
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
blockquote,
blockquote:before,
blockquote:after,
q:before,
abbr[title],
input,
video {
  vertical-align: baseline;
  margin: 0;
  padding: 0;
  background: transparent;
  /*outline:0;*/
  font-size: 100%;
  border: 0;
}

body {
  line-height: 1;
}

section {
  display: block;
}

nav ul {
  /*list-style:none;*/
}

q {
  quotes: none;
}

q:after {
  content: '';
  content: none;
}

a {
  vertical-align: baseline;
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 100%;
}


/* change colours to suit your needs */

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}


/* change colours to suit your needs */

mark {
  background-color: #ff9;
  font-style: italic;
  font-weight: bold;
  color: #000;
}

del {
  text-decoration: line-through;
}

dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* change border colour to suit your needs */

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #cccccc;
}

select {
  vertical-align: middle;
}


/**************************************************************************************************************/

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  overflow: hidden;
}

body {
  font-family: 'Amiri', serif;
  width: 100vw;
  height: 100vh;
}

.container {
  width: 100%;
  height: 100%;
}

.background-image {
  width: 100%;
  height: 100%;
  background: url(http://i63.tinypic.com/14kfvw5.jpg) no-repeat center;
  background-size: cover;
  -webkit-filter: blur(20px);
  filter: blur(20px);
}

.content {
  overflow: hidden;
  position: absolute;
  width: 80vw;
  min-width: 400px;
  height: 90vh;
  background-color: rgba(200, 200, 200, 0.5);
  box-shadow: 0px 0px 10px 5px rgba(200, 200, 200, 0.5);
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-40vw, -45vh);
  -moz-transform: translate(-40vw, -45vh);
  -ms-transform: translate(-40vw, -45vh);
  -o-transform: translate(-40vw, -45vh);
  transform: translate(-40vw, -45vh);
}

.content > header {
  position: relative;
  width: 100%;
  height: 10%;
  border-bottom: 1px solid white;
}

.logo {
  position: absolute;
  color: black;
  font-size: 50px;
  text-transform: capitalize;
  padding-top: 10px;
}

.new-lang {
  margin: auto;
  padding-top: 10px;
  text-align: center;
  width: 50px;
  height: 50px;
}

.new-lang a {
  display: block;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  color: black;
  text-transform: uppercase;
  font-size: 25px;
}

.new-lang a:hover {
  border: 1px solid white;
}

.parent-section {
  position: relative;
  width: 100%;
  height: 85%;
}

.parent-section div.bomb {
  position: absolute;
  visibility: hidden;
  top: 100%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  -webkit-transition: -webkit-transform 1s;
  -moz-transition: -moz-transform 1s;
  transition: transform 1s;
}

.parent-section div.bomb:nth-of-type(2) {
  left: 0px;
}

.parent-section div.bomb:nth-of-type(3) {
  left: 100px;
}

.parent-section div.bomb:nth-of-type(4) {
  left: 200px;
}

.parent-section div.bomb:nth-of-type(5) {
  left: 300px;
}

.parent-section div.bomb:nth-of-type(6) {
  left: 400px;
}

.parent-section div.bomb:first-of-type {
  top: -40px;
  right: 0;
}

.parent-section div.bomb:nth-of-type(3) {
  left: 70px;
}

.parent-section div.bomb:nth-of-type(5) {
  left: 320px;
}

.parent-section input {
  visibility: hidden;
}

.parent-section input[type=radio]#home:checked ~ section.home {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#home:checked ~ section.home article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#home:checked ~ section.home article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#home:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: rgba(250, 250, 250, 0.8);
}

.parent-section input[type=radio]#skill:checked ~ section.skill {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#skill:checked ~ section.skill article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#skill:checked ~ section.skill article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#skill:checked ~ section.skill article.part2 li {
  -webkit-animation: move-li 1s;
  -moz-animation: move-li 1s;
  animation: move-li 1s;
  animation-fill-mode: forwards;
}

.parent-section input[type=radio]#skill:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: #88abf4;
}

.parent-section input[type=radio]#portfolio:checked ~ section.portfolio {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#portfolio:checked ~ section.portfolio article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#portfolio:checked ~ section.portfolio article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#portfolio:checked ~ section.portfolio article.part2 ul {
  -webkit-animation: move-ul 15s ease-in alternate infinite;
  -moz-animation: move-ul 15s ease-in alternate infinite;
  animation: move-ul 15s ease-in alternate infinite;
}

.parent-section input[type=radio]#portfolio:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: yellow;
}

.parent-section input[type=radio]#gallery:checked ~ section.gallery {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#gallery:checked ~ section.gallery article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#gallery:checked ~ section.gallery article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#gallery:checked ~ section.gallery article.part2 ul {
  -webkit-animation: move-ul 15s ease-in alternate infinite;
  -moz-animation: move-ul 15s ease-in alternate infinite;
  animation: move-ul 15s ease-in alternate infinite;
}

.parent-section input[type=radio]#gallery:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: #00FF00;
}

.parent-section input[type=radio]#video:checked ~ section.video {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#video:checked ~ section.video article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#video:checked ~ section.video article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#video:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: #FF1493;
}

.parent-section input[type=radio]#contact:checked ~ section.contact {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.parent-section input[type=radio]#contact:checked ~ section.contact article.part1 {
  -webkit-animation: show-article-part1 1s;
  -moz-animation: show-article-part1 1s;
  animation: show-article-part1 1s;
}

.parent-section input[type=radio]#contact:checked ~ section.contact article.part2 {
  -webkit-animation: show-article-part2 2s;
  -moz-animation: show-article-part2 2s;
  animation: show-article-part2 2s;
}

.parent-section input[type=radio]#contact:checked + label + div {
  visibility: visible;
  -webkit-transform: scale(75);
  -moz-transform: scale(75);
  -ms-transform: scale(75);
  -o-transform: scale(75);
  transform: scale(75);
  transition-delay: 0s;
  z-index: -9;
  background-color: #8888ff;
}

.parent-section label {
  display: block;
  position: absolute;
  z-index: 10;
  top: 103%;
  cursor: pointer;
  font-size: 20px;
  text-transform: uppercase;
  color: black;
  -webkit-transition: translate 0.5s, scale 5s;
  -moz-transition: translate 0.5s, scale 5s;
  transition: translate 0.5s, scale 5s;
}

.parent-section label:nth-of-type(1) {
  top: -40px;
  right: 0;
  font-size: 25px;
}

.parent-section label:nth-of-type(2) {
  left: 0px;
}

.parent-section label:nth-of-type(3) {
  left: 60px;
}

.parent-section label:nth-of-type(4) {
  left: 175px;
}

.parent-section label:nth-of-type(5) {
  left: 275px;
}

.parent-section label:nth-of-type(6) {
  left: 350px;
}

.parent-section label:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
}

.parent-section section {
  overflow: hidden;
  position: absolute;
  -webkit-transform: translateY(5000px);
  -moz-transform: translateY(5000px);
  -ms-transform: translateY(5000px);
  -o-transform: translateY(5000px);
  transform: translateY(5000px);
  width: 100%;
  height: 100%;
}

.parent-section section article {
  opacity: 0;
  animation-fill-mode: forwards !important;
}

.parent-section section article header {
  border-bottom: 1px solid white;
}

.parent-section section article header h1 {
  font-size: 50px;
  text-transform: uppercase;
  margin-left: 50px;
  padding-top: 50px;
  padding-bottom: 20px;
}

.parent-section section article p {
  margin-left: 50px;
  padding-top: 10px;
  font-size: 20px;
}

.parent-section section article.part2 {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
  transform: translateX(100%);
}

.parent-section section.home article.part2 .inner-content {
  width: 500px;
  height: 70%;
  margin: auto;
  background: url(https://wallpaperscraft.com/image/kit_harington_photos_celebrity_jimmy_choo_99616_602x339.jpg) no-repeat center;
  background-size: 100% 100%;
  margin-top: 50px;
}

.parent-section section.skill article.part2 div.inner-content {
  position: relative;
  width: 500px;
  height: 70%;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
  perspective: 1200px;
  margin-top: 50px;
}

.parent-section section.skill article.part2 div.inner-content ul {
  overflow: hidden;
  list-style-type: none;
  width: 100%;
  height: 100%;
  -webkit-transform: rotateY(35deg) rotateX(20deg);
  -moz-transform: rotateY(35deg) rotateX(20deg);
  -ms-transform: rotateY(35deg) rotateX(20deg);
  -o-transform: rotateY(35deg) rotateX(20deg);
  transform: rotateY(35deg) rotateX(20deg);
}

.parent-section section.skill article.part2 div.inner-content ul li {
  display: inline-block;
  float: left;
  width: 20%;
  height: 50%;
  background-color: rgba(200, 200, 255, 0.7);
  text-align: center;
  border-left: 5px solid black;
  margin-left: 200px !important;
  text-transform: uppercase;
  position: absolute;
  top: 80%;
}

.parent-section section.skill article.part2 div.inner-content ul li:nth-of-type(1) {
  left: 0px;
  animation-delay: 0.5s !important;
}

.parent-section section.skill article.part2 div.inner-content ul li:nth-of-type(2) {
  left: 100px;
  animation-delay: 1.5s !important;
}

.parent-section section.skill article.part2 div.inner-content ul li:nth-of-type(3) {
  left: 200px;
  animation-delay: 2.5s !important;
}

.parent-section section.portfolio article.part2 {
  overflow: hidden;
}

.parent-section section.portfolio article.part2 div.inner-content {
  width: 500px;
  height: 70%;
  margin-top: 50px;
}

.parent-section section.portfolio article.part2 div.inner-content ul {
  list-style-type: none;
  width: 2550px;
  height: 100%;
}

.parent-section section.portfolio article.part2 div.inner-content ul li {
  display: block;
  float: left;
  width: 20%;
  height: 100%;
  border-left: 5px solid white;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:nth-child(1) {
  background: url(https://wallpaperscraft.com/image/johnny_depp_view_young_brown-eyed_actor_person_61327_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:nth-child(2) {
  background: url(https://wallpaperscraft.com/image/michael_jackson_sunglasses_hat_hair_61342_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:nth-child(3) {
  background: url(https://wallpaperscraft.com/image/military_man_stern_boy_cigar_glasses_white_t-shirt_2977_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:nth-child(4) {
  background: url(https://wallpaperscraft.com/image/jesse_mccartney_guy_pants_shirt_chair_27311_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:nth-child(5) {
  background: url(https://wallpaperscraft.com/image/taylor_lautner_actor_smile_75760_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.portfolio article.part2 div.inner-content ul li:last-child:after {
  content: '';
  display: block;
  clear: both;
}

.parent-section section.gallery article.part2 {
  overflow: hidden;
}

.parent-section section.gallery article.part2 div.inner-content {
  width: 500px;
  height: 70%;
  margin-top: 50px;
}

.parent-section section.gallery article.part2 div.inner-content ul {
  list-style-type: none;
  width: 2550px;
  height: 100%;
}

.parent-section section.gallery article.part2 div.inner-content ul li {
  display: block;
  float: left;
  width: 20%;
  height: 100%;
  border-left: 5px solid white;
}

.parent-section section.gallery article.part2 div.inner-content ul li:nth-child(1) {
  background: url(https://wallpaperscraft.com/image/alexis_bledel_brunette_smile_neck_face_60339_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.gallery article.part2 div.inner-content ul li:nth-child(2) {
  background: url(https://wallpaperscraft.com/image/brunette_face_make-up_smile_look_model_hairstyle_63893_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.gallery article.part2 div.inner-content ul li:nth-child(3) {
  background: url(https://wallpaperscraft.com/image/nicole_scherzinger_smile_face_bracelets_brunette_6174_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.gallery article.part2 div.inner-content ul li:nth-child(4) {
  background: url(https://wallpaperscraft.com/image/avril_lavigne_style_singer_81632_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.gallery article.part2 div.inner-content ul li:nth-child(5) {
  background: url(https://wallpaperscraft.com/image/scarlett_johansson_jacket_look_actress_81674_602x339.jpg) no-repeat center;
  background-size: cover;
}

.parent-section section.gallery article.part2 div.inner-content ul li:last-child:after {
  content: '';
  display: block;
  clear: both;
}

.parent-section section.video article.part2 div.inner-content {
  width: 500px;
  height: 70%;
  margin-top: 50px;
}

.parent-section section.video article.part2 div.inner-content iframe {
  width: 100%;
  height: 100%;
}

.parent-section section.contact article.part2 div.inner-content {
  width: 500px;
  height: 100%;
  margin-top: 50px;
}

.parent-section section.contact article.part2 div.inner-content form {
  width: 100%;
  height: 100%;
}

.parent-section section.contact article.part2 div.inner-content form *:hover {
  background-color: rgba(250, 250, 250, 0.8);
}

.parent-section section.contact article.part2 div.inner-content form input {
  visibility: visible;
  width: 100%;
  height: 30px;
  background-color: white;
  margin-bottom: 5px;
}

.parent-section section.contact article.part2 div.inner-content form textarea {
  background-color: white;
  width: 100%;
  margin-bottom: 5px;
}

.parent-section section.contact a {
  text-decoration: none;
  color: white;
}

.parent-section section.contact a:hover {
  color: yellow;
}

@keyframes show-article-part1 {
  to {
    opacity: 1;
  }
}

@keyframes show-article-part2 {
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes move-ul {
  to {
    -webkit-transform: translateX(-85%);
    -moz-transform: translateX(-85%);
    -ms-transform: translateX(-85%);
    -o-transform: translateX(-85%);
    transform: translateX(-85%);
  }
}

@keyframes move-li {
  to {
    -webkit-transform: scaleY(4);
    -moz-transform: scaleY(4);
    -ms-transform: scaleY(4);
    -o-transform: scaleY(4);
    transform: scaleY(4);
  }
}

@media screen and (max-width: 600px) {
  .content {
    width: 100vw;
    height: 100vh;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50vw, -50vh);
    -moz-transform: translate(-50vw, -50vh);
    -ms-transform: translate(-50vw, -50vh);
    -o-transform: translate(-50vw, -50vh);
    transform: translate(-50vw, -50vh);
  }
}

@media screen and (max-width: 799px) {
  .parent-section section .part1,
  .parent-section section .part2 {
    width: 100%;
    height: 50%;
  }
  .parent-section section .part1 header h1 {
    font-size: 25px;
    padding-top: 25px;
    padding-bottom: 10px;
  }
  .parent-section section .part1 p {
    margin: auto;
    font-size: 15px;
  }
  .parent-section section .part2 .inner-content {
    margin-top: 0 !important;
    height: 100% !important;
    width: 100% !important;
  }
}

@media screen and (min-width: 800px) {
  .parent-section section .part1,
  .parent-section section .part2 {
    width: 50%;
    height: 100%;
    float: left;
  }
}


/*# sourceMappingURL=style.css.map */
              
            
!

JS

              
                // This was my variable.scss file.

// For ltr templates:
// $float: left;
// $flag: 1;

// For rtl templates:
// $float: right;
// $flag: -1;
              
            
!
999px

Console