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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

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.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <div id="primary" class="content-area">
<div id="my-main">
<div class="Posts_header">
						<header class="section-header">
			
			<span class="section-sub-title">Last</span>
			<h2 class="section-title">LAST</h2>
			<p class="section-description"></p>
			
		</header><!-- .entry-header -->
                </div>
<div class="allblogs ">
  <div class="single-blog clearfix">
    <article class="blog-image"> <a href="#" title="TEST">
      <div class="imgV"><img width="640" height="960" src="https://i.imgur.com/JEYfQsC.jpg" class="attachment-medium_large size-medium_large wp-post-image" alt="" srcset="https://i.imgur.com/JEYfQsC.jpg 768w, https://i.imgur.com/JEYfQsC.jpg 300w, https://i.imgur.com/JEYfQsC.jpg 683w, https://i.imgur.com/JEYfQsC.jpg 60w, https://i.imgur.com/JEYfQsC.jpg 281w" sizes="(max-width: 640px) 100vw, 640px"></div>
      </a> </article>
    <!-- .ps-blog-image -->
    
    <div class="article-content-wrapper">
      <h2 class="entry-title"><a href="#">TEST</a></h2>
      <div class="entry-meta"><span class="byline post-author"> <span class="author vcard"><a class="url fn n" href="#">admin</a></span></span><span class="comments-link"><a href="#">Leave a Comment<span class="screen-reader-text"> on TEST</span></a></span><span class="posted-on"><a href="#" rel="bookmark">
        <time class="entry-date published" datetime="2017-09-28T21:26:48+00:00">September 28, 2017</time>
        <time class="updated" datetime="2017-10-03T22:06:22+00:00">October 3, 2017</time>
        </a></span></div>
      <div class="my-entry-content">
        <div class="entry-content"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
      </div>
      <div class="arcitle-more-btn-blog"> <a href="#2" class="btn archive-read-more">Read more </a> </div>
    </div>
    <!-- .ps-blog-info --> 
  </div>
  <!-- .ps-single-blog -->
  <div class="single-blog clearfix">
    <article class="blog-image"> <a href="#" title="TEST">
      <div class="imgH"><img width="640" height="291" src="https://i.imgur.com/vkevTNc.jpg" class="attachment-medium_large size-medium_large wp-post-image" alt="" srcset="https://i.imgur.com/vkevTNc.jpg 768w, https://i.imgur.com/vkevTNc.jpg 450w, https://i.imgur.com/vkevTNc.jpg.jpg 198w, https://i.imgur.com/vkevTNc.jpg 640w, https://i.imgur.com/vkevTNc.jpg" sizes="(max-width: 640px) 100vw, 640px"></div>
      </a> </article>
    <!-- .ps-blog-image -->
    
    <div class="article-content-wrapper">
      <h2 class="entry-title"><a href="#">TEST</a></h2>
      <div class="entry-meta"><span class="byline post-author"> <span class="author vcard"><a class="url fn n" href="#">admin</a></span></span><span class="comments-link"><a href="#">Leave a Comment<span class="screen-reader-text"> on TEST</span></a></span><span class="posted-on"><a href="#" rel="bookmark">
        <time class="entry-date published updated" datetime="2017-09-28T15:51:31+00:00">September 28, 2017</time>
        </a></span></div>
      <div class="my-entry-content">
        <div class="entry-content"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
      </div>
      <div class="arcitle-more-btn-blog"> <a href="#" class="btn archive-read-more"> Read more </a> </div>
    </div>
    <!-- .ps-blog-info --> 
  </div>
  <!-- .ps-single-blog -->
  <div class="single-blog clearfix">
    <article class="blog-image"> <a href="#" title="TEST">
      <div class="imgH"><img width="640" height="291" src="https://i.imgur.com/vkevTNc.jpg" class="attachment-medium_large size-medium_large wp-post-image" alt="" srcset="https://i.imgur.com/vkevTNc.jpg 768w, https://i.imgur.com/vkevTNc.jpg 450w, https://i.imgur.com/vkevTNc.jpg.jpg 198w, https://i.imgur.com/vkevTNc.jpg 640w, https://i.imgur.com/vkevTNc.jpg" sizes="(max-width: 640px) 100vw, 640px"></div>
      </a> </article>
    <!-- .ps-blog-image -->
    
    <div class="article-content-wrapper">
      <h2 class="entry-title"><a href="#">TEST</a></h2>
      <div class="entry-meta"><span class="byline post-author"> <span class="author vcard"><a class="url fn n" href="#">admin</a></span></span><span class="comments-link"><a href="#">Leave a Comment<span class="screen-reader-text"> on TEST</span></a></span><span class="posted-on"><a href="#" rel="bookmark">
        <time class="entry-date published" datetime="2017-09-06T18:44:03+00:00">September 6, 2017</time>
        <time class="updated" datetime="2017-09-06T18:44:51+00:00">September 6, 2017</time>
        </a></span></div>
      <div class="my-entry-content">
        <div class="entry-content"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
      </div>
      <div class="arcitle-more-btn-blog"> <a href="#" class="btn archive-read-more"> Read more </a> </div>
    </div>
    <!-- .ps-blog-info --> 
  </div>
  <!-- .ps-single-blog -->
  <div class="single-blog clearfix">
    <article class="blog-image"> <a href="#" title="TEST">
      <div class="imgH"><img width="640" height="291" src="https://i.imgur.com/vkevTNc.jpg" class="attachment-medium_large size-medium_large wp-post-image" alt="" srcset="https://i.imgur.com/vkevTNc.jpg 768w, https://i.imgur.com/vkevTNc.jpg 450w, https://i.imgur.com/vkevTNc.jpg.jpg 198w, https://i.imgur.com/vkevTNc.jpg 640w, https://i.imgur.com/vkevTNc.jpg" sizes="(max-width: 640px) 100vw, 640px"></div>
      </a> </article>
    <!-- .ps-blog-image -->
    
    <div class="article-content-wrapper">
      <h2 class="entry-title"><a href="#">TEST</a></h2>
      <div class="entry-meta"><span class="byline post-author"> <span class="author vcard"><a class="url fn n" href="#">admin</a></span></span><span class="comments-link"><a href="#">Leave a Comment<span class="screen-reader-text"> on Visitar museu 2</span></a></span><span class="posted-on"><a href="h#" rel="bookmark">
        <time class="entry-date published" datetime="2017-09-06T18:43:47+00:00">September 6, 2017</time>
        <time class="updated" datetime="2017-09-13T21:28:52+00:00">September 13, 2017</time>
        </a></span></div>
      <div class="my-entry-content">
        <div class="entry-content"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
      </div>
      <div class="arcitle-more-btn-blog"> <a href="#" class="btn archive-read-more"> Read more </a> </div>
    </div>
    <!-- .ps-blog-info --> 
  </div>
  <!-- .ps-single-blog -->
  <div class="single-blog clearfix">
    <article class="blog-image"> <a href="#" title="TEST">
      <div class="imgH"><img width="640" height="291" src="https://i.imgur.com/vkevTNc.jpg" class="attachment-medium_large size-medium_large wp-post-image" alt="" srcset="https://i.imgur.com/vkevTNc.jpg 768w, https://i.imgur.com/vkevTNc.jpg 450w, https://i.imgur.com/vkevTNc.jpg.jpg 198w, https://i.imgur.com/vkevTNc.jpg 640w, https://i.imgur.com/vkevTNc.jpg" sizes="(max-width: 640px) 100vw, 640px"></div>
      </a> </article>
    <!-- .ps-blog-image -->
    
    <div class="article-content-wrapper">
      <h2 class="entry-title"><a href="#">TEST</a></h2>
      <div class="entry-meta"><span class="byline post-author"> <span class="author vcard"><a class="url fn n" href="#">admin</a></span></span><span class="comments-link"><a href="#">Leave a Comment<span class="screen-reader-text"> on Visitar museu</span></a></span><span class="posted-on"><a href="#" rel="bookmark">
        <time class="entry-date published" datetime="2017-09-06T18:42:35+00:00">September 6, 2017</time>
        <time class="updated" datetime="2017-09-06T18:45:03+00:00">September 6, 2017</time>
        </a></span></div>
      <div class="my-entry-content">
        <div class="entry-content"> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </div>
      </div>
      <div class="arcitle-more-btn-blog"> <a href="#" class="btn archive-read-more"> Read more </a> </div>
    </div>
    <!-- .ps-blog-info --> 
  </div>
  <!-- .ps-single-blog -->
  <div class="AllBlogPag"></div>
  <a href="#masthead" id="scroll-up" style="display: none;"><i class="fa fa-angle-up"></i></a> </div>
</div></div>
              
            
!

CSS

              
                
html, body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: 'Mukta Mahee', sans-serif;
    color: #555;
}
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.clearfix:before, .clearfix:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after, .cat-item:before, .cat-item:after, .widget_archive ul li:before, .widget_archive ul li:after {
    content: "";
    display: table;
    clear: both;
}
#primary {
    left: 0;
    right: 0;
    position: relative;
    margin: 0 auto;
    margin-left: 2.5%;
}
#primary {
    width: 66.33%;
    float: left;
}

.allblogs {
    position: relative;
    -webkit-margin-after: 150px;
    display: inline-block;
    white-space: normal;
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -moz-column-rule: none;
    -webkit-column-count: 3;
    -webkit-column-gap: 10px;
    -webkit-column-rule: none;
    column-count: 3;
    column-gap: 10px;
    column-rule: none;
}
@media only screen and (min-width: 1920px), only screen and (min-device-width: 1920px)
MdTstyle.css?ver=1.0.25:1151
.allblogs {
    top: 180px;
}
@media only screen and (min-width: 1280px), only screen and (min-device-width: 1280px)
MdTstyle.css?ver=1.0.25:998
.allblogs {
    position: relative;
    -webkit-margin-after: 150px;
    display: inline-block;
    white-space: normal;
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -moz-column-rule: none;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    -webkit-column-rule: none;
    column-count: 2;
    column-gap: 10px;
    column-rule: none;
}
@media only screen and (min-width: 1024px), only screen and (min-device-width: 1024px)
MdTstyle.css?ver=1.0.25:844
.allblogs {
    position: relative;
    -webkit-margin-after: 150px;
    display: inline-block;
    white-space: normal;
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -moz-column-rule: none;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    -webkit-column-rule: none;
    column-count: 2;
    column-gap: 10px;
    column-rule: none;
}

.single-blog {
    position: relative;
    border-radius: 5px;
    display: inline-block;
    left: 0;
    right: 0;
    border: 1px solid rgba(236, 236, 238, 0.76);
    margin-bottom: 10%;
}

article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}
a {
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}

.imgV {
    width: auto;
    overflow: hidden;
    overflow-y: hidden;
    position: absolute;
    display: inline-block;
    vertical-align: middle;

}
.imgH {
    opacity: 1;
    position: absolute;
}
.article-content-wrapper {
    width: 100%;
    height: auto;
    border-top: 1px solid #ccc;
    padding-bottom: 15px;
    margin-top: 72%;
}
.imgV img {
    max-width: 540px;
    /* max-height: 263px;*/
    background: white;
    object-fit: cover;
    animation: ltr 3s alternate infinite;
    width: 100%;
    height: 100%;
}
.imgV img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.site-main .article-content-wrapper {
    width: 100%;
    height: auto;
    border-top: 1px solid #ccc;
    padding-bottom: 15px;
    margin-top: 72%;
}
div#my-main {
    float: left;
   
}
img {
    vertical-align: middle;
    height: auto;
    position: relative;
}
img {
    border: 0;
}
.site-main .article-content-wrapper {
    width: 100%;
    height: auto;
    border-top: 1px solid #ccc;
    padding-bottom: 15px;
    margin-top: 72%;
}
@media only screen and (min-width: 1920px), only screen and (min-device-width: 1920px)
MdTstyle.css?ver=1.0.25:1227
.site-main .article-content-wrapper {
}
.article-content-wrapper {
    width: 93%;
}
 .article-content-wrapper {
    text-align: justify;
}
.article-content-wrapper {
    position: relative;
}
@media only screen and (min-width: 1920px), only screen and (min-device-width: 1920px)
MdTstyle.css?ver=1.0.25:1224
  .article-content-wrapper {
    left: 0;
    right: 0;
    margin: auto;
    /* padding: 25px 0!important; */
}
@media only screen and (min-width: 1300px), only screen and (min-device-width: 1300px)
MdTstyle.css?ver=1.0.25:977
  .article-content-wrapper {
    background-color: #fff!important;
    text-align: justify;
}
.article-content-wrapper {
    padding: 25px;
    background-color: #f7f7f7;
}
 .entry-title {
    color: #333333;
    font-size: 30px;
    font-family: 'BenchNine', sans-serif;
    margin: 0 0 15px;
    text-transform: uppercase;
    line-height: 1;
}
h1, h2, h3, h4, h5, h6 {
    clear: both;
}
.entry-meta {
    margin-bottom: 12px;
    color: #acacac;
    font-size: 14px;
}
.article-content-wrapper {
    text-align: justify;
}
.my-entry-content {
    display: block;
    margin: 0;
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    max-width: 92%;
    left: 0;
    right: 0;
    text-align: justify;
    position: relative;
    height: 10%;
    margin: auto;
    margin-bottom: 10%;
}
 .entry-content  {
    margin: 0;
}
.arcitle-more-btn-blog {
    /* margin-bottom: 50px; */
    position: relative;
    /* width: 94%; */
    float: right;
    position: relative;
    margin-bottom: 10%;
}

@media only screen and (min-width: 1920px), only screen and (min-device-width: 1920px)
MdTstyle.css?ver=1.0.25:1164
.Posts_header {
    top: 160px;
    position: relative;
}
.Posts_header header .section-sub-title {
    color: #666666;
    font-family: 'BenchNine';
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
}
.Posts_header header .section-title {
    color: #666666;
    font-family: 'BenchNine';
    font-size: 3em;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 40px;
}
p.section-description {
    padding: 0px;
    text-align: justify;
    margin: 0px;
}
 
              
            
!

JS

              
                
              
            
!
999px
💕 I'm the CSS to your HTML.

Console