View templates-path.txt
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
# Mac | |
"fileTemplates.templates_dir": "/Users/YOUR-USER-NAME/Documents/Web Dev Projects/+Templates" | |
# Windows | |
"fileTemplates.templates_dir": "C:\Users\YOUR-USER-NAME\Documents\Web Dev Projects\+Templates" |
View main.js
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() { | |
var switcherFunc = function() { | |
$('> .btn', this.parentNode).addClass('btn-default').removeClass('btn-primary'); | |
$(this).addClass('btn-primary'); | |
}; | |
$('.sex .btn').on('click', switcherFunc); | |
$('.race .btn').on('click', switcherFunc); | |
$('.stats .btn').on('click', switcherFunc); |
View oasis-star-wars-bootstrap.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
<div class="row"> | |
<div class="col-xs-12"> | |
<div> | |
<h2 class="h3">Beru Lars</h2> | |
<p> | |
<img src="images/beru.jpg" width="95%" title="Aunt Beru Lars" alt="Aunt Beru Lars"> | |
</p> | |
<table> | |
<tr> | |
<th> |
View media-rules-bootstrap-3.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
@media (min-width: 1200px) { | |
/* Bootstrap 3 LG Breakpoint only */ | |
} | |
@media (min-width: 992px) and (max-width: 1199px) { | |
/* Bootstrap 3 MD Breakpoint ONLY */ | |
} |
View html5.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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Untitled Document</title> | |
<link rel="stylesheet" href="/css/main.css"> | |
</head> | |
<body> |
View bootstrap-3-cdn.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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Untitled</title> |
View jumbotron-video.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
.jumbotron-video { | |
/* must set this so we can use position: absolute next */ | |
position: relative; | |
/* don’t let video exceed the boundaries we set */ | |
overflow: hidden; | |
/* show users more of page below the hero */ | |
height: 80vh; | |
} | |
.jumbotron-video video { |
View bootstrap-4-cdn.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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Untitled</title> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> |
View grid-4-column-area-media-queries.scss
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
// For all @media rules, see http://chnsa.ws/1a5 | |
@media (min-width: 992px) and (max-width: 1199px) { | |
// Bootstrap 3 MD Breakpoint ONLY | |
.creatures-container { | |
grid-template-columns: repeat(3, 1fr); | |
grid-template-rows: repeat(4, auto); | |
grid-gap: 0 25px; | |
.img-4 { | |
grid-row: 3 / 4; |