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

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

              
                <header>
		<h1>Últimos Artículos</h1>
</header>
<section class='last-posts'>
</section>

<header id='follows'>
		<h1>En mi TL</h1>
</header>
<section class='tl'>	
		<article>
			<figure>
				<h2>@fscarballo</h2>
				<p>Profesor. Diseñador gráfico. Fundador de blogs</p>
			</figure>
			<img alt src='https://pbs.twimg.com/profile_images/865203494164193280/cJ5nZ93K.jpg' />
		</article>
		<article>
			<figure>
				<h2>@mikmoro_mikel</h2>
			<p>Ni corre como la liebre, ni vuela como el ave ni nada como el pez</p>
			</figure>
			<img alt src='https://pbs.twimg.com/profile_images/822712444619489282/gni0UbSS.jpg' />
		</article>
		<article>
			<figure>
				<h2>@Aresglez</h2>
			<p>Aprendiz de la Infancia y de la vida. Padre, maestro y formador a partes desiguales</p>
			</figure>
			<img alt src='https://pbs.twimg.com/profile_images/817346987251167232/1er3iLWE.jpg' />
		</article>
		<article>
			<figure>
				<h2>@razormad</h2>
				<p>Full-stack Developer</p>
			</figure>
			<img alt src='https://pbs.twimg.com/profile_images/731559832214491136/8JjNPUk-.jpg' />
		</article>
		<article>
			<figure>
				<h2>@DanielUlczyk</h2>
				<p>Consultor SEO + Diseñador Web + Samurai Ortográfico</p>
			</figure> 
			<img alt src='https://pbs.twimg.com/profile_images/745059097242918912/ZUfKp9fn.jpg' />
		</article>
		<article>
		<figure>
			<h2>@ecbos_</h2>
			<p>Code is poetry</p>
			<img alt src='https://pbs.twimg.com/profile_images/752843123131191299/DDFJFFbm.jpg' />
		</figure>
	</article>
		<article>
		<figure>
			<h2>@Manz</h2>
			<p>Retrogeek, Developer, Computer science, Games & Technology</p>
			<img alt src='https://pbs.twimg.com/profile_images/836277447020666880/Q-RF68Nc.jpg' />
		</figure>
	</article>
</section>

<header>
		<h1>¿Me buscabas?</h1>
</header>
<section class='rss'>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-codepen'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-codepen"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-blogger'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-blogger"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-face'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-face"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-gplus'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-gplus"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-twitter'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-twitter"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-whatsa'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-whatsa"></use>
			</svg>
		</article>	
		<article>
			<figure>
				<h2><a href="#">Kseso</a></h2>
			</figure>
			<svg class='svg-icon-wp'>
				<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#svg-wp"></use>
			</svg>
		</article>
</section>
<br /><br /><br />

<script>
            //<![CDATA[
            /*
Ültimos posts
*/
            function lastPosts(r){
              var num_Posts=6;
              var random_Posts=false;
              var ver_Sumario=false;
              var long_Sumario=0;
              var ver_Imagen=true;
              var size_Imagen="/s450/";
              var sin_Imagen="https://1.bp.blogspot.com/-dJaOneI-NRA/WOljn3K0VII/AAAAAAAANes/7DPsyqxvnPosIv2oBOLChyTTct8p67KHQCLcB/s400/escss.png";
              var src_1=/\/s\d*\//;
              var src_2=/\/s\d*-c\//;
              var widgetElement=document.querySelector(".last-posts");
              var salida="";
              var t=r.feed.openSearch$totalResults.$t;
              var f=new Array();
              for(var h=0;h<t;++h){f[h]=h}
              if(random_Posts==true){f.sort(function(){return 0.5-Math.random()})}
              if(num_Posts>t){num_Posts=t}
              for(h=0;h<num_Posts;++h){
                var l=r.feed.entry[f[h]];
                var e=l.title.$t;
                for(var g=0;g<l.link.length;g++){
                  if(l.link[g].rel=="alternate"){
                    posturl_Escss=l.link[g].href;break}
                }
                if("content" in l){var p=l.content.$t}
                s=p;
                a=s.indexOf("<img");
                b=s.indexOf('src="',a);
                c=s.indexOf('"',b+5);
                d=s.substr(b+5,c-b-5);
                if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")){
                  var n=d.match(src_1)||d.match(src_2);
                  var o=d.replace(n,size_Imagen);
                  var m=o.replace("http:","https:")
                  }
                else{var m=sin_Imagen}
                salida+='<article><figure><h2><a href="'+posturl_Escss.replace("http://","https://")+'">'+e+'</a></h2>';
                var q=/<\S[^>]*>/g;
                p=p.replace(q,"");
                if(ver_Sumario==true){
                  if(p.length<long_Sumario){document.write(p)}
                  else{p=p.substring(0,long_Sumario);
                       var j=p.lastIndexOf(" ");
                       p=p.substring(0,j);
                       salida+=p+"&hellip;</figure>";
                      }
								}
                
    if(ver_Imagen==true){salida+='</figure><img src="'+m+'" alt="'+e+'"/>'}
		salida+='</article>';
  }
							
   widgetElement.innerHTML=salida+'<article><figure><h2><a href="https://escss.blogspot.com/p/sitemap.html">Ver Todos los Artículos de EsCss</a></figure><img alt src="https://pbs.twimg.com/profile_images/722022140455821313/hrRtW6LJ.jpg"/></article>';
};		
            //]]>
          </script>
<script src="https://escss.blogspot.com/feeds/posts/default?start-index=1&amp;max-results=20&amp;alt=json-in-script&amp;callback=lastPosts"></script>

<svg width="0" height="0">
  <defs>
    <clipPath id="hexa-v" clipPathUnits="objectBoundingBox">
      <polygon points=".5 0, 1 .25, 1 .75, .5 1, 0 .75, 0 .25" />
    </clipPath>
    <clipPath id="hexa-h" clipPathUnits="objectBoundingBox">
      <polygon points=".25 0, .75 0, 1 .5, .75 1, .25 1, 0 .5" />
    </clipPath>
  </defs>	
	  <symbol id='svg-blogger' viewBox='0 0 16 16'>
		<path d='M14.65 16H1.35C.6 16 0 15.4 0 14.65V1.35C0 .6.6 0 1.35 0H14.7c.7 0 1.3.6 1.3 1.35v13.3c0 .75-.6 1.35-1.35 1.35zM8 2.65H6c-1.85 0-3.35 1.5-3.35 3.35v4c0 1.85 1.5 3.35 3.35 3.35h4c1.85 0 3.35-1.5 3.35-3.35V7.35c0-.4-.3-.7-.7-.7H12c-.35 0-.65-.3-.65-.65 0-1.85-1.5-3.35-3.35-3.35zm2.05 8H6c-.35 0-.65-.3-.65-.65 0-.35.3-.65.65-.65h4.05c.35 0 .65.3.65.65 0 .35-.3.65-.65.65zm-1.7-5.3c.35 0 .65.3.65.65 0 .35-.3.65-.65.65h-2.4c-.35 0-.65-.3-.65-.65 0-.35.3-.65.65-.65h2.4z'/>
      </symbol>
    <symbol id='svg-codepen' viewBox='0 0 512 512'>
        <polygon points='164 240.6 164 271.1 186.2 255.5 '/>
        <polygon points='300.4 241.8 336.2 217.7 266.6 169.3 266.8 217.4 '/>
        <polygon points='242 216.3 242 169.3 173.3 217.4 207.7 240.4 '/>
        <path d='m374 0h-236c-76.2 0-138 61.8-138 138v236c0 76.2 61.8 138 138 138h236c76.2 0 138-61.8 138-138v-236c0-76.2-61.8-138-138-138zm-3 291.5c0 6.2-3.3 12.1-8.5 15.5l-97.1 64.1c-6.2 4.1-14.3 4.1-20.5 0l-95.3-62.9c-5.2-3.4-8.5-9.3-8.5-15.5v-70.2c0-6.1 3.2-11.8 8.2-15.3l93.6-65.2c6.3-4.4 14.7-4.5 21-0.3l98.7 65.3c5.2 3.4 8.5 9.3 8.5 15.5v69z'/>
        <polygon points='267 293.4 267 340.9 336.1 294.7 300.3 271.2 '/>
        <polygon points='243 293.5 208.2 270.2 173.6 294.4 243 340.8 '/>
        <polygon points='346 271.9 346 240.6 322.4 256.4 '/>
        <polygon points='252.1 239.4 229.6 255.1 255.1 272.2 278.3 256.6 '/>
      </symbol>
    <symbol id='svg-face' viewBox='0 0 455 455'>
        <path d='M0 0v455h455V0H0zM301 125.2H265.4c-7 0-14.2 7.3-14.2 12.7v36.3h49.6c-2 27.8-6.1 53.2-6.1 53.2h-43.8V385h-65.3V227.4h-31.8v-53h31.8v-43.4c0-7.9-1.6-61 66.9-61h48.4V125.2z'/>
      </symbol>
    <symbol id='svg-gplus' viewBox='0 0 455 455'>
        <path d='M0 0v455h455V0H0zM161.7 342.7C97.5 342.7 46.5 291.7 46.5 227.5s51-115.2 115.2-115.2c31.3 0 57.6 11.5 77.3 31.3L207.8 173.2c-8.2-8.2-23-18.1-46.1-18.1 -39.5 0-70.8 32.9-70.8 72.4s31.3 72.4 70.8 72.4c46.1 0 62.5-32.9 65.8-49.4h-65.8v-39.5h108.6c1.6 6.6 1.6 11.5 1.6 19.7C271.9 296.6 227.5 342.7 161.7 342.7zM408.5 244h-32.9v32.9h-32.9v-32.9h-32.9v-32.9h32.9v-32.9h32.9v32.9H408.5V244z'/>
      </symbol>
    <symbol id='svg-twitter' viewBox='0 0 455 455'>
        <path d='M0 0v455h455V0H0zM352.8 163.3c0.1 2.8 0.2 5.6 0.2 8.4 0 85.4-65 183.9-183.9 183.9 -36.5 0-70.5-10.7-99.1-29 5.1 0.6 10.2 0.9 15.4 0.9 30.3 0 58.1-10.3 80.3-27.7 -28.3-0.5-52.1-19.2-60.4-44.9 3.9 0.8 8 1.2 12.2 1.2 5.9 0 11.6-0.8 17-2.3 -29.6-5.9-51.8-32.1-51.8-63.4 0-0.3 0-0.5 0-0.8 8.7 4.8 18.7 7.7 29.3 8.1 -17.3-11.6-28.7-31.4-28.7-53.8 0-11.8 3.2-22.9 8.8-32.5 31.9 39.1 79.5 64.8 133.2 67.5 -1.1-4.7-1.7-9.7-1.7-14.7 0-35.7 28.9-64.6 64.6-64.6 18.6 0 35.4 7.8 47.2 20.4 14.7-2.9 28.6-8.3 41-15.7 -4.8 15.1-15.1 27.8-28.4 35.8 13.1-1.6 25.5-5 37.1-10.2C376.3 142.8 365.4 154.1 352.8 163.3z'/>
      </symbol>
		<symbol id='svg-whatsa' viewBox="0 0 16 16">
			<path d="M11.665 9.588c-.2-.1-1.177-.578-1.36-.644-.182-.067-.315-.1-.448.1-.132.197-.514.643-.63.775-.116.13-.232.14-.43.05-.2-.1-.842-.31-1.602-.99-.592-.53-.99-1.18-1.107-1.38-.116-.2-.013-.31.087-.41.09-.09.2-.23.3-.35.098-.12.13-.2.198-.33.066-.14.033-.25-.017-.35-.05-.1-.448-1.08-.614-1.47-.16-.39-.325-.34-.448-.34-.115-.01-.248-.01-.38-.01-.134 0-.35.05-.532.24-.182.2-.696.68-.696 1.65s.713 1.91.812 2.05c.1.13 1.404 2.13 3.4 2.99.476.2.846.32 1.136.42.476.15.91.13 1.253.08.383-.06 1.178-.48 1.344-.95.17-.47.17-.86.12-.95-.05-.09-.18-.14-.38-.23M8.04 14.5h-.01c-1.18 0-2.35-.32-3.37-.92l-.24-.143-2.5.65.67-2.43-.16-.25c-.66-1.05-1.01-2.26-1.01-3.506 0-3.63 2.97-6.59 6.628-6.59 1.77 0 3.43.69 4.68 1.94 1.25 1.24 1.94 2.9 1.94 4.66-.003 3.63-2.973 6.59-6.623 6.59M13.68 2.3C12.16.83 10.16 0 8.03 0 3.642 0 .07 3.556.067 7.928c0 1.397.366 2.76 1.063 3.964L0 16l4.223-1.102c1.164.63 2.474.964 3.807.965h.004c4.39 0 7.964-3.557 7.966-7.93 0-2.117-.827-4.11-2.33-5.608"></path></symbol>
		<symbol id='svg-wp' viewBox="0 0 16 16">
			<path d="M14.312 4.55c.56 1.024.88 2.2.88 3.45 0 2.653-1.438 4.97-3.576 6.217l2.197-6.352c.41-1.026.547-1.847.547-2.576 0-.27-.018-.52-.048-.74m-5.32.07c.432-.02.822-.07.822-.07.388-.05.342-.62-.045-.6 0 0-1.17.09-1.92.09-.71 0-1.9-.1-1.9-.1-.39-.02-.44.57-.05.59 0 0 .36.04.75.06l1.12 3.07-1.58 4.72L3.57 4.6c.432-.02.822-.067.822-.067.39-.05.344-.62-.044-.597 0 0-1.164.092-1.916.092-.133 0-.292-.005-.46-.01C3.274 2.1 5.49.81 8 .81c1.872 0 3.577.715 4.857 1.888-.03-.002-.06-.006-.093-.006-.707 0-1.208.615-1.208 1.276 0 .593.342 1.095.706 1.687.274.48.594 1.095.594 1.984 0 .61-.237 1.33-.548 2.32l-.717 2.39-2.6-7.74zM8 15.19c-.706 0-1.387-.103-2.032-.292l2.158-6.27 2.21 6.057c.016.035.033.068.052.1-.747.262-1.55.407-2.388.407M.807 8c0-1.043.224-2.033.623-2.927l3.43 9.4C2.463 13.307.808 10.847.808 8M8 0C3.59 0 0 3.59 0 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8"/>
			</symbol>
</svg>
              
            
!

CSS

              
                *, *:after, *:before {
  box-sizing: inherit;
}
* {margin:0;padding:0;border: 0 none; position: relative;}
:root {
	--sinSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	/* hexagon */
		--gap: 2vmin;
		--radio: calc(100vmin / 3);
		--width: calc(var(--radio) * .866);
		--height: var(--radio);
	/* colors */
	  --negroO: #1d1f20;
    --negroM: #292f33;
    --negroC: #444448;
    --gris: #999;
    --blancoS: #e1e8ed;
}
html {
  box-sizing: border-box;
	font-family: var(--sinSerif);
	font-size: 1rem;
	color: var(--gris)
}
body {
	background: var(--negroO);
  overflow-x: scroll;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
  align-content: center;
	color: var(--gris);
}
/* Making the grid */
section {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-gap: 2vmin;
	max-width: 100vmin;
	padding-left: 2vmin;
	margin: .5rem auto;
}
article {
	background: var(--negroC);
  width: var(--width); 
  height: var(--height);
	overflow: hidden;
	transition: 1s;
	clip-path: url(#hexa-v);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	filter: drop-shadow(0 0 1px #fff);
}
/* making the honeycomb */
article:nth-of-type(1) {	
	grid-column: 2 / span 2;
	grid-row: 1;	
}
article:nth-of-type(2) {	
	grid-column: 4 / span 2;
	grid-row: 1;	
}
article:nth-of-type(3) {	
	grid-column: 1 / span 2;
	grid-row: 2;	
}
article:nth-of-type(4) {	
	grid-column: 3 / span 2;
	grid-row: 2;	
}
article:nth-of-type(5) {	
	grid-column: 5 / span 2;
	grid-row: 2;	
}
article:nth-of-type(6) {	
	grid-column: 2 / span 2;
	grid-row: 3;	
}
article:nth-of-type(7) {	
	grid-column: 4 / span 2;
	grid-row: 3;	
}

/* A small adjustment in the vertical */
article:nth-of-type(-n+2) {
	margin-bottom: calc(var(--height) * -.2);
}
article:nth-of-type(n+6):nth-of-type(-n+7) {
	margin-top: calc(var(--height) * -.2);
}

/* Ornamentales */
header {
	background: var(--negroM);
	font-size: calc(1rem + 2vmin);
	font-variant: small-caps;
}
h1 {
	font-size: inherit;
	font-weight: 100;
	letter-spacing: 3px;
	line-height: 1.5;
	text-align: center;
	box-shadow: inset 0 0 1px 1px var(--negroC);
}
figure {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	height: 100%;
	font-size: calc(1rem + 1vmin);
	line-height: 1.2;
	transition: .75s .05s;
	hyphens: auto;
  text-align: center;
}
img,
[class*='svg-icon'] {
	background: #fff;
  min-width: var(--radio);
	min-height: var(--radio);
	max-widt: var(--width);
	max-height: var(--height);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transform-origin: 50% 0%;
	transition: 1s;
	clip-path: url(#hexagono);
	clip-path: inherit;
	z-index:  10;
}
article:hover img,
article:hover [class*='svg-icon'] {
	transform: translate(-50%, -50%) rotateY(.25turn);
}
h2 {
	font-size: 100%;
	font-weight: 200;
	font-variant: small-caps;
	padding: 0 2vw;
}
figure p {
	font-size: 70%;
	line-height: 1.2;
	font-weight: 100;
	width: 100%;
}
a {
	display: block;
	color: var(--gris);
	text-decoration: none;
}
a:hover {
	color: var(--blancoS);
}
.rss figure {
	background: #fff;
}
svg {
	  clip-rule: evenodd;
    fill-rule: evenodd;
    clip-rule: evenodd;
    image-rendering: optimizequality;
    shape-rendering: geometricprecision;
    text-rendering: geometricprecision;
}
[class*='-codepen'] {
	fill: #000;
}
[class*='-blogger'] {
	fill: #F38936;
}
[class*='-face'] {
	fill: #3B5998;
}
[class*='-gplus'] {
	fill: #DC4E41;
}
[class*='-twitter'] {
	fill: #1DA1F2;
}
[class*='-whatsa'] {
	fill: #25D366;
}
[class*='-wp'] {
	fill: #21759B;
}
@media only screen and (max-width: 450px) {
	figure p {display: none;}
	figure h2 {font-size: 1rem;}
}
              
            
!

JS

              
                
              
            
!
999px

Console