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
/* Ken's custom's CSS - Questions? [email protected] */ | |
/* remove horizontal scroll */ | |
body { | |
overflow-x: hidden; | |
} | |
/* custom classes */ | |
.d-block { | |
display: block!important; |
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
@mixin font-size($sizeValue: 16, $line: $sizeValue * 1.5) { | |
font-size: ($sizeValue) + px; | |
line-height: ($line) + px; | |
font-size: ($sizeValue / 16) + rem; | |
line-height: ($line / 16) + rem; | |
} | |
// credit https://coderwall.com/p/ml9zxg/sass-mixin-for-rem-font-sizing-line-height-with-px-fallback |
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
{ | |
"name": "site-name", | |
"version": "1.0.0", | |
"description": "Site Description", | |
"main": "index.js", | |
"scripts": { | |
"watch:sass": "node-sass sass/main.scss css/style.css -w", | |
"devserver": "live-server", | |
"start": "npm-run-all --parallel devserver watch:sass", | |
"compile:sass": "node-sass sass/main.scss css/style.comp.css", |
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 class="card"> | |
<a href="#"> | |
<figure class="card__media"> | |
<img src="image.jpg" alt="" class="card__image"> | |
</figure> | |
<div class="card__body"> | |
<div class="card__category">Blog</div> | |
<div class="card__title">Card Title</div> | |
</div> | |
<div class="card__footer"> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Text Anim</title> | |
<style type="text/css"> | |
#word { | |
background: yellow; | |
width: 200px; | |
} | |
</style> |
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
// Compares first value to the second one allowing entering IF clouse if true. | |
// Otherwise entering ELSE clause if exist. | |
Handlebars.registerHelper('ifEquals', function(a, b, options) { | |
if (a === b) { | |
return options.fn(this); | |
} | |
return options.inverse(this); | |
}); |
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
{"lastUpload":"2018-05-03T22:58:09.915Z","extensionVersion":"v2.9.2"} |
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
<!-- created by Kenold Beauplan // Twitter @kenoldb --> | |
{{ $url := "/data/tutorials.json" }} | |
{{ $data := getJSON $url}} | |
<!-- "list-unstyled" is a Bootstrap calss that removes the bullet points --> | |
<ul class="list-unstyled"> | |
{{ range $data.list }} | |
{{ $item := . }} | |
<li>---</li> | |
<li>title: |
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
<body> | |
<h1>ToDo List</h1> | |
<ul> | |
<li>Go to the store</li> | |
<li>Clean the office</li> | |
<li>Wash the car</li> | |
<li>Backup files to cloud</li> | |
</ul> | |
</body> |
NewerOlder