Grayscale jquery: https://github.com/GianlucaGuarini/jQuery.BlackAndWhite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="container"> | |
<article class="col-sm-4 blog-article item"> | |
<div class="b-inner"> | |
<h3 class="b-title">Titel 1</h3> | |
<a href="/" class="btn btn-default">Lees het volledige artikel</a> | |
</div> | |
</article> | |
<article class="col-sm-4 blog-article item"> | |
<div class="b-inner"> | |
<h3 class="b-title">Title 2</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($){ | |
var windowWidth = $(window).width(); | |
$(window).resize(function() { | |
if(windowWidth != $(window).width()){ | |
location.reload(); | |
return; | |
} | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
if ( $(window).width() > 480 && $(window).width() < 768) { | |
} else{ | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="nl-NL" id="top"> | |
<div class="back-to-top"> | |
<a href="#top" class="btn-top"><i class="fa fa-angle-up"></i></a> | |
</div> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTML5 Semantic: | |
Download extention google chrome: HTML5 outliner | |
Tutorial: | |
https://webdesign.tutsplus.com/courses/semantic-html-how-to-structure-web-pages?ec_promo=learning_roundup | |
------------------------------------------------------------------------------------------------------------- | |
Solid HTML form structure: | |
Tutorial: | |
https://webdesign.tutsplus.com/courses/solid-html-form-structure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".item-list .item").each( function (index) { | |
index += 1; | |
// als er 4 items zijn voeg html toe. | |
if(index % 4 === 0) { | |
$(this).after('<div class="col-xs-12 line line-3"></div>'); | |
} | |
// als er 3 items zijn voeg html toe. | |
if(index % 3 === 0) { |