123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <script src="https://app.taggbox.com/js/jquery.min.js"></script>
<link rel="stylesheet" href="https://app.taggbox.com/plugins/bootstrap/css/bootstrap.min.css">
<script src="https://app.taggbox.com/plugins/bootstrap/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="https://app.taggbox.com/js/moment.js"></script>
	<script type="text/javascript" src="https://app.taggbox.com/js/livestamp.js"></script>
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>	
<!-- jQuery library -->
<div class="themesWrapper grid" >
<div class="themeNewsCard themeStart19 clearfix" >
</div>
</div>	

            
          
!
            
              .themeNewsCard  {   overflow: hidden;
outline: none; }

.themeNewsCard  { position :relative;   }

/**News Card**/
.themeNewsCard .flatCard .cardCTA {margin-top: 0px; margin-bottom: 10px;}
.themeNewsCard .flatCard.onlyTextCard .cardCTA{ margin-bottom:22px;}
.themeNewsCard .flatCard.onlyTextCard .postedTxt { 
text-align:center; position:static; 
transform: none;
-moz-transform: none;
-webkit-transform: none;
margin-top:0px;
clear:both;
} 
.themeNewsCard .flatCard h4{ margin:0px;}
.themeNewsCard .flatCard.onlyTextCard h4 .authorDetails{position:relative;} 
.themeNewsCard .flatCard.onlyTextCard h4 .postNetwork{    
transform: none;
-moz-transform: none;
-webkit-transform: none;
left:auto;
top:8px;
right:-15px;
}
body.wPostFull #controllerContent{     
width: 100%;
height: 100vh;
}
body.wPostFull .page-container{padding:0px;}
.themesWrapper{overflow-X:hidden; overflow-Y:auto; height:inherit; }
.flatCard{
padding: 5px;   
}
.flatCard .post{ 
background-color: #FFFFFF;
margin: 0px 4px;
position: relative;
overflow:hidden;
border: 1px solid rgba(201, 228, 231, 0.57);
width: 285px;
}
.flatCard .postContent{cursor: pointer;} 
.postedTxt{
width: 100%;
display: block;  
word-wrap: break-word;
line-height: 125%;
margin: 10px 0px;
}
.flatCard .postedTxt p, .flatCard .postedTxt h1{ margin:0px;}
.flatCard .postedTxt h1 + p { margin:10px 0;}
.flatCard .postedTxt h1{ font-size:inherit; font-weight:600;}

.flatCard .postContentCard{
padding: 10px;
/* border: 1px solid rgba(201, 228, 231, 0.57); */     
}
.blur-bg{
position: absolute;
left: 0px;
bottom: 0px;
width: 100%;
height: 100%;
filter: blur(30px) saturate(2); 
-ms-filter: blur(30px) saturate(2);
background-size: cover;
background-position: 50% 50%;
opacity: 0.7;    
}
.flatCard .postContent video, .flatCard .postContent iframe {
max-width: 100%;
display: block;
height: auto !important;
margin: 0 auto;
border: 0px;
}
.videoIcon {
position: absolute;
top: 50%;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);	
left: 0;
right: 0;
text-align: center;
}
.videoIcon img {
width: 48px;
}
.themeNewsCard .postItem{
  width: 315px;
}
.authorDetails{ position:relative;}
.authorDetails img {
height: 41px;
width: 41px;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
float: left;
margin-right:10px;
}
.authorDetails .postAuthorName{
font: 600 13px/18px 'Open Sans', sans-serif; 
white-space: nowrap;
text-decoration: none;
display: block;
overflow: hidden;
text-overflow:ellipsis; 
}
.authorDetails .authrHandleTime{ overflow: hidden;}
.authorDetails .authrHandle, .authorDetails .timePost{
font: 600 9px/19px 'Open Sans', sans-serif;
text-decoration: none;
display: list-item;
float: left;
margin-right: 19px;
} 
.authorDetails .authrHandle{ max-width: 100px; text-overflow:ellipsis;}
.flatCard h4{ margin-bottom:0px; margin-top:0px;}
.flatCard h4 .postNetwork {
margin-top: 8px;
float: right;
margin-left: 20px;  
}
.flatCard h4 .postNetwork i {
font-size: 24px;   
line-height:18px;
}
.flatCard.onlyTextCard .postContentCard{
min-height: 240px;
}
.flatCard.onlyTextCard .postContent p{
padding: 0 10px;  
}
.flatCard.onlyTextCard h4 .postNetwork{
position: absolute;
top: 9%;
left: 50%;
transform: translateX(-50%);
-moz-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
text-align: center;
margin: 0px;
}

.flatCard.onlyTextCard .cardCTA{ margin-top:50px;}
.flatCard .cardCTA + h4{ margin-top:10px;}


.flatCard.onlyTextCard h4 .authorDetails{
position: absolute;
bottom: 10px;
width: 94%;
}
.shareWrapper{
position: absolute;
top: -15px;
left: 15px;
opacity: 0;
visibility: hidden;
-webkit-backface-visibility: hidden; 
-moz-transition: all 100ms ease 0ms;
-webkit-transition: all 100ms ease 0ms;
transition: all 100ms ease 0ms;
z-index:1400;
}
.postContent:hover .shareWrapper{
opacity: 1;
visibility: visible;
top:10px;    
}
.shareWrapper a{
display: block !important; 
background: #fff;
font-size: 16px !important;     
width: 30px;
height: 30px;
line-height: 30px !important; 
text-align: center; 
position: relative;
border-radius: 30px;-moz-border-radius: 30px;-webkit-border-radius: 30px;
box-shadow: 0px 1px 3px rgba(169, 167, 167, 0.5);
-moz-box-shadow: 0px 1px 3px rgba(169, 167, 167, 0.5);
-webkit-box-shadow: 0px 1px 3px rgba(169, 167, 167, 0.5); 
-moz-transition: all ease 200ms;
-webkit-transition: all ease 200ms;
transition: all ease 200ms;
color: #333;
}
.shareWrapper .fbShare, .shareWrapper .twShare, .shareWrapper .gpShare{
position: absolute;
-webkit-transform: translate3d(0, 0px, 0);
-moz-transform: translate3d(0, 0px, 0);
-ms-transform: translate3d(0, 0px, 0);
transform: translate3d(0, 0px, 0);
transition:all ease 0.3s;
}
.shareWrapper .fbShare{     
z-index: -1; 
}
.shareWrapper .twShare{
z-index: -2;        
}
.shareWrapper .gpShare{  
z-index: -3; 
}
.shareWrapper .fbShare i.fa-facebook{ 
color: #3b5998 !important;
}
.shareWrapper .twShare i.fa-twitter{
color: #55acee !important;
}
.shareWrapper .gpShare i{
color: #e04006 !important;  
}
.shareWrapper:hover a{
opacity: 1;
position: relative !important;     
}
.shareWrapper:hover .fbShare{
z-index:1;
}
.shareWrapper:hover .twShare{
-webkit-transform: translate3d(0, 10px, 0);
-moz-transform: translate3d(0, 10px, 0);
-ms-transform: translate3d(0, 10px, 0);
transform: translate3d(0, 10px, 0);    
left:0px;
}
.shareWrapper:hover .gpShare{
-webkit-transform: translate3d(0, 20px, 0);
-moz-transform: translate3d(0, 20px, 0);
-ms-transform: translate3d(0, 20px, 0);
transform: translate3d(0, 20px, 0);    
left:0px;
}
            
          
!
            
              $.getJSON( "https://app.taggbox.com/api/apiJson/21973?user_key=a6b3d40c98a3acce7ad1d5a10bae1596", function( data ) {
var items = [];
$.each( data.feeds, function( key, val ) {
var imgHtml = "";
if(val.postFile.length>1) {
 imgHtml = "<img src="+val.postFile+"  class='img-responsive imgPostFile' />";
}
if(key==50) {
return false;
}
items.push('<div class="postItem item flatCard col-ms-6 col-xs-6" style="width:300px; margin:0 0 10px 10px;" ><div class="post" style= "overflow:Hidden;"><div class="postContent"><div class="image">'+imgHtml+'</div> <div class="postContentCard"><h4><div class="postNetwork" data-network="'+val.networkName+'"> <i class="fa fa-'+val.networkName.toLowerCase()+'" style="color:#00aced"> </i></div><div class="authorDetails" style=";"> <img src="'+val.postUserPicture+'" alt=""><div class="postAuthorName" style=" color:#1f1b1b;"> '+val.postAuthorName+'</div><div class="authrHandleTime"> <span class="authrHandle" style=" color:#1f1b1b;" target="_blank"> @'+val.postUsername+'</span><div class="sepratedot" style=" color:#1f1b1b;"></div> <span class="timePost" data-livestamp='+val.postCreatedAt+' style=" color:#1f1b1b;"></span></div><div class="clearfix"></div></div></h4><div class="postedTxt  setFont font5" style="font-size:14px; color:#1f1b1b;"><p>'+val.postContent+'</p></div><div class="shareWrapper" data-color=""> <a href="#" class="fbShare" target="_blank"> <i class="fa fa-share icon" aria-hidden="true"></i> </a> <a href="#" class="twShare" target="_blank"> <i class="fa fa-twitter" aria-hidden="true"></i> </a> <a href="#" class="gpShare" target="_blank"> <i class="fa fa-google-plus" aria-hidden="true"></i> </a></div></div></div></div></div>');
});
$(".themeNewsCard").html(items);
});
$(window).on("load", function() {
	setTimeout(function(){
		$('.themeNewsCard').isotope({ 
		itemSelector: '.postItem.item', 
		});
	}, 5000); 
});
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console