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">
  <h1>Popular Post Samehadaku</h1>
  <div class="widget PopularPosts" id="PopularPosts1">
    <div class="widget-content">
      <ul>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/bloodivores-episode-9-subtitle-indonesia.html" title="Bloodivores Episode 9 Subtitle Indonesia">
                <img alt="Bloodivores Episode 9 Subtitle Indonesia" src="https://4.bp.blogspot.com/-MdnokX2NLaI/WDm7tBVo9YI/AAAAAAAAZ9A/u8CFClwTKrspWrH5cU5f9yODTvz8um1WgCLcB/w1400-h700-p-k-no-nu/bloodivores%2B-%2B09.jpg" srcset="https://4.bp.blogspot.com/-MdnokX2NLaI/WDm7tBVo9YI/AAAAAAAAZ9A/u8CFClwTKrspWrH5cU5f9yODTvz8um1WgCLcB/w240-h240-p-k-no-nu/bloodivores%2B-%2B09.jpg 240w, https://4.bp.blogspot.com/-MdnokX2NLaI/WDm7tBVo9YI/AAAAAAAAZ9A/u8CFClwTKrspWrH5cU5f9yODTvz8um1WgCLcB/w360-h360-p-k-no-nu/bloodivores%2B-%2B09.jpg 360w" title="Bloodivores Episode 9 Subtitle Indonesia">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/bloodivores-episode-9-subtitle-indonesia.html" title="Bloodivores Episode 9 Subtitle Indonesia">
                  Bloodivores Episode 9 Subtitle Indonesia
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/bloodivores-episode-9-subtitle-indonesia.html" title="Bloodivores Episode 9 Subtitle Indonesia">
                  <time class="published" datetime="2016-11-27T09:22:00-08:00" title="2016-11-27T09:22:00-08:00">
                    November 27, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/shuumatsu-no-izetta-episode-9-subtitle.html" title="Shuumatsu no Izetta Episode 9 Subtitle Indonesia">
                <img alt="Shuumatsu no Izetta Episode 9 Subtitle Indonesia" src="https://2.bp.blogspot.com/-M-YRe1-XIb8/WDns6R7rABI/AAAAAAAAA_w/UsEW0WPpxtcko5JGWrDF6zXM8F9qHlrdwCLcB/w1400-h700-p-k-no-nu/shuumatsu-no-izetta-episode-9-subtitle-indonesia.jpg" srcset="https://2.bp.blogspot.com/-M-YRe1-XIb8/WDns6R7rABI/AAAAAAAAA_w/UsEW0WPpxtcko5JGWrDF6zXM8F9qHlrdwCLcB/w240-h240-p-k-no-nu/shuumatsu-no-izetta-episode-9-subtitle-indonesia.jpg 240w, https://2.bp.blogspot.com/-M-YRe1-XIb8/WDns6R7rABI/AAAAAAAAA_w/UsEW0WPpxtcko5JGWrDF6zXM8F9qHlrdwCLcB/w360-h360-p-k-no-nu/shuumatsu-no-izetta-episode-9-subtitle-indonesia.jpg 360w" title="Shuumatsu no Izetta Episode 9 Subtitle Indonesia">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/shuumatsu-no-izetta-episode-9-subtitle.html" title="Shuumatsu no Izetta Episode 9 Subtitle Indonesia">
                  Shuumatsu no Izetta Episode 9 Subtitle Indonesia
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/shuumatsu-no-izetta-episode-9-subtitle.html" title="Shuumatsu no Izetta Episode 9 Subtitle Indonesia">
                  <time class="published" datetime="2016-11-27T09:20:00-08:00" title="2016-11-27T09:20:00-08:00">
                    November 27, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/wwwworking-episode-9-subtitle-indonesia.html" title="WWW.Working!! Episode 9 Subtitle Indonesia">
                <img alt="WWW.Working!! Episode 9 Subtitle Indonesia" src="https://2.bp.blogspot.com/-eiPi7s5u-gQ/WDo7HQ6QZeI/AAAAAAAAZ9g/DhnsgkM0S4w07uth1hPID3OPYntxTD8OQCLcB/w1400-h700-p-k-no-nu/www%2B-%2B09.jpg" srcset="https://2.bp.blogspot.com/-eiPi7s5u-gQ/WDo7HQ6QZeI/AAAAAAAAZ9g/DhnsgkM0S4w07uth1hPID3OPYntxTD8OQCLcB/w240-h240-p-k-no-nu/www%2B-%2B09.jpg 240w, https://2.bp.blogspot.com/-eiPi7s5u-gQ/WDo7HQ6QZeI/AAAAAAAAZ9g/DhnsgkM0S4w07uth1hPID3OPYntxTD8OQCLcB/w360-h360-p-k-no-nu/www%2B-%2B09.jpg 360w" title="WWW.Working!! Episode 9 Subtitle Indonesia">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/wwwworking-episode-9-subtitle-indonesia.html" title="WWW.Working!! Episode 9 Subtitle Indonesia">
                  WWW.Working!! Episode 9 Subtitle Indonesia
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/wwwworking-episode-9-subtitle-indonesia.html" title="WWW.Working!! Episode 9 Subtitle Indonesia">
                  <time class="published" datetime="2016-11-27T09:27:00-08:00" title="2016-11-27T09:27:00-08:00">
                    November 27, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/regalia-three-sacred-stars-episode-13.html" title="Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]">
                <img alt="Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]" src="https://3.bp.blogspot.com/-gEKz4Mu4Ff4/WDmxxY1A-dI/AAAAAAAAZ8w/oJkfVs8CRpUkJzBwk6HCY0W77OeY_M3OACLcB/w1400-h700-p-k-no-nu/regalia%2B-%2B13.jpg" srcset="https://3.bp.blogspot.com/-gEKz4Mu4Ff4/WDmxxY1A-dI/AAAAAAAAZ8w/oJkfVs8CRpUkJzBwk6HCY0W77OeY_M3OACLcB/w240-h240-p-k-no-nu/regalia%2B-%2B13.jpg 240w, https://3.bp.blogspot.com/-gEKz4Mu4Ff4/WDmxxY1A-dI/AAAAAAAAZ8w/oJkfVs8CRpUkJzBwk6HCY0W77OeY_M3OACLcB/w360-h360-p-k-no-nu/regalia%2B-%2B13.jpg 360w" title="Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/regalia-three-sacred-stars-episode-13.html" title="Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]">
                  Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/regalia-three-sacred-stars-episode-13.html" title="Regalia: The Three Sacred Stars Episode 13 Subtitle Indonesia [END]">
                  <time class="published" datetime="2016-11-27T09:19:00-08:00" title="2016-11-27T09:19:00-08:00">
                    November 27, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/watashi-ga-motete-dousunda-episode-8.html" title="Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia">
                <img alt="Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia" src="https://1.bp.blogspot.com/-VI4uj8aW6u0/WDloSUN_AGI/AAAAAAAAZ8g/YC7yiI_kSkwS9uRGTlhQIM8sjF422bAigCLcB/w1400-h700-p-k-no-nu/sunda%2B-%2B08.jpg" srcset="https://1.bp.blogspot.com/-VI4uj8aW6u0/WDloSUN_AGI/AAAAAAAAZ8g/YC7yiI_kSkwS9uRGTlhQIM8sjF422bAigCLcB/w240-h240-p-k-no-nu/sunda%2B-%2B08.jpg 240w, https://1.bp.blogspot.com/-VI4uj8aW6u0/WDloSUN_AGI/AAAAAAAAZ8g/YC7yiI_kSkwS9uRGTlhQIM8sjF422bAigCLcB/w360-h360-p-k-no-nu/sunda%2B-%2B08.jpg 360w" title="Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/watashi-ga-motete-dousunda-episode-8.html" title="Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia">
                  Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/watashi-ga-motete-dousunda-episode-8.html" title="Watashi ga Motete Dousunda Episode 8 Subtitle Indonesia">
                  <time class="published" datetime="2016-11-26T08:57:00-08:00" title="2016-11-26T08:57:00-08:00">
                    November 26, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
        <li>
          <div class="post-content">
            <div class="post-img">
              <a href="https://kisenima.blogspot.com/2016/11/ajin-s2-episode-8-subtitle-indonesia.html" title="Ajin S2 Episode 8 Subtitle Indonesia">
                <img alt="Ajin S2 Episode 8 Subtitle Indonesia" src="https://1.bp.blogspot.com/-yZCu45WwZ7A/WDm9oQ3DCUI/AAAAAAAAA_g/j8PhTc-5ycIwIGaVN1ZiY6gC4sh2SEgCQCLcB/w1400-h700-p-k-no-nu/ajin-s2-episode-8-subtitle-indonesia.jpg" srcset="https://1.bp.blogspot.com/-yZCu45WwZ7A/WDm9oQ3DCUI/AAAAAAAAA_g/j8PhTc-5ycIwIGaVN1ZiY6gC4sh2SEgCQCLcB/w240-h240-p-k-no-nu/ajin-s2-episode-8-subtitle-indonesia.jpg 240w, https://1.bp.blogspot.com/-yZCu45WwZ7A/WDm9oQ3DCUI/AAAAAAAAA_g/j8PhTc-5ycIwIGaVN1ZiY6gC4sh2SEgCQCLcB/w360-h360-p-k-no-nu/ajin-s2-episode-8-subtitle-indonesia.jpg 360w" title="Ajin S2 Episode 8 Subtitle Indonesia">
              </a>
            </div>
            <div class="post-title">
              <h3>
                <a href="https://kisenima.blogspot.com/2016/11/ajin-s2-episode-8-subtitle-indonesia.html" title="Ajin S2 Episode 8 Subtitle Indonesia">
                  Ajin S2 Episode 8 Subtitle Indonesia
                </a>
              </h3>
            </div>
            <div class="post-info">
              <span class="post-date">
                <i class="fa fa-clock-o"></i>
                <a href="https://kisenima.blogspot.com/2016/11/ajin-s2-episode-8-subtitle-indonesia.html" title="Ajin S2 Episode 8 Subtitle Indonesia">
                  <time class="published" datetime="2016-11-26T08:56:00-08:00" title="2016-11-26T08:56:00-08:00">
                    November 26, 2016
                  </time>
                </a>
              </span>
            </div>
            <div class="post-desc">
            </div>
          </div>
</li>
      </ul>
    </div>
  </div>
</div>
              
            
!

CSS

              
                @import url(
  https://fonts.googleapis.com/css?family=Roboto:400,
  400i,
  700,
  700i
);
* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
a {
  color: #ffffff;
  outline: none;
  text-decoration: none;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}
img {
  width: 100%;
  height: auto;
}
body {
  background: #f5f5f5;
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  position: relative;
  line-height: normal;
}

.container {
  width: 500px;
  margin: 4% auto;
  background: #fff;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
}

.container h1,
.container h2 {
  display: block;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  padding: 10px;
}

.container h2 {
  margin-top: 30px;
}
/* Popular Post */
.PopularPosts li:nth-child(1):before {
  position: absolute;
  bottom: 0;
  left: 10px;
  z-index: 2;
  border: 0;
  background: #262626;
  color: #fff;
  padding: 10px;
  border-radius: 0;
  min-height: 50px;
}
.PopularPosts li:before {
  float: left;
  padding: 5px 8px;
  border: 1px solid;
  margin: 12px 7px 0 0;
  border-radius: 5px;
  font-size: 12px;
  content: counter(num);
  counter-increment: num;
}
.PopularPosts li:first-child .post-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 152px;
  width: 100%;
}
.PopularPosts li:first-child .post-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.PopularPosts li:first-child .post-title {
  position: absolute;
  bottom: 17px;
  left: 0;
  right: 0;
  padding: 10px 10px 10px 45px;
  background: linear-gradient(
    to bottom,
    rgb(0 0 0 / 0%) 6%,
    rgba(0, 0, 0, 0.85) 70%
  );
}
.PopularPosts li:first-child {
  position: relative;
  overflow: hidden;
  min-height: 135px;
  counter-reset: num;
}
.PopularPosts li:nth-child(1n + 2) {
  background: #262626;
  padding: 10px;
  color: #fff;
}
.PopularPosts li:nth-child(1n + 2) .post-img {
  float: left;
  max-width: 50px;
  max-height: 50px;
  margin-right: 10px;
  border-radius: 3px;
  overflow: hidden;
  padding: 1px;
  border: 1px solid;
}
.PopularPosts .post-content .post-title h3 {
  font-size: 13px;
  font-family: "open sans", sans-serif;
  line-height: normal;
}
.PopularPosts .post-content .post-title h3 a {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.PopularPosts .post-date,
.PopularPosts .post-desc {
  font-size: 11px;
  padding: 6px 0 0;
  opacity: 0.7;
}

              
            
!

JS

              
                $(document).ready(function () {
  $("img").attr("src", function (i, src) {
    return src.replace("s72-c", "s640");
  });
});

              
            
!
999px

Console