node_modules/
.idea
.DS_Store
npm-debug.log
# Intro to SCSS
This repository supports the [egghead](https://egghead.io/) course on SCSS.
.women-of-the-marvel-universe {
content: "women-of-the-marvel-universe";
}
.women-of-the-marvel-universe-text {
color: #989898;
}
.women-of-the-marvel-universe-cape {
background-color: #8465D9;
}
img {
border: 1px dotted green;
}
.elektra {
color: blue;
border: 1px solid purple;
font-size: 36px;
}
.fancy {
color: green;
}
.cool {
color: rebeccapurple;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SassyEgghead</title>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<div class="spiderman-container">
<div class="spiderman">
<img src="http://www.clipartkid.com/images/773/spiders-men-clipart-clip-art-cakes-toppers-superhero-parties-1nw4sv-clipart.jpg" height="350" />
<div class="description">
<div class="header">
Spider-man
<a class="description-link" href=https://en.wikipedia.org/wiki/Spider-Man">stuff </a>
MOOOOOOOOAAAR!!!
</div>
</div>
</div>
</div>
</body>
</html>
{
"name": "Sassy-Egghead",
"version": "0.0.1",
"description": "Learn the Best and Most Useful SCSS Egghead Course Repo",
"devDependencies": {
"node-sass": "^3.11.2"
},
"scripts": {
"start": "node-sass -o css scss --output-style expanded"
},
"author": "Ari Picker",
"license": "UNLICENSED"
}
@import "variables/variables";
@import "variables/vary";
.spiderman {
padding: 1rem 2rem;
transition: transform .8s ease-in-out;
&-container:hover & { transform: rotate(180deg); }
&-container { background-color: #dbbebe; }
&::before {
display: block;
content: url('http://gallery1.anivide.com/_full/80728_1442526786.gif');
}
img {
transition: transform .8s ease-in-out;
&:hover { transform: rotate(360deg); }
}
.description {
color: darkred;
text-align: center;
margin-top: 1rem;
.header { font-size: 2rem; }
}
.description-link {
text-decoration: none;
&::after {
content: url('https://65.media.tumblr.com/avatar_a96a78c3d6ad_128.png');
display: inline-block;
vertical-align: middle;
}
}
}
.blue { color: $yellow; }
.blue { color: lighten(blue, 35%); }
$yellow: yellow;
.cool { color: rebeccapurple; }
$color-text-default: #424954;
$color-text-light: #EBEBEB;
$color-text-muted: #989898;
$color-primary: #8465D9;
$color-danger: #E83043;
$color-success: #3DC123;
$color-info: #CFFF32;
$color-warning: #FFB62F;
$font-family-primary: Roboto, 'Open Sans', Helvetica Neue, sans-serif;
$font-family-secondary: Georgia, Times New Roman, serif;
$font-family-monospace: Menlo, Monaco, Consolas, monospace;
$font-family: $font-family-primary;
$font-size-base: 14px;
$font-size-large: 18px;
$font-size-small: 12px;
$font-size-h1: 36px;
$font-size-h2: 30px;
$font-size-h3: 24px;
$font-size-h4: $font-size-large;
$font-size-h5: $font-size-base;
$font-size-h6: $font-size-small;
$captain-marvel: green;
$wom: women-of-the-marvel-universe;
.#{$wom} { content: "#{$wom}"; }
.#{$wom}-text { color: $color-text-muted; }
.#{$wom}-cape { background-color: $color-primary; }
img { border: 1px dotted $captain-marvel; }
.elektra {
$elektra: purple;
$captain-marvel: blue;
color: $captain-marvel;
border: 1px solid $elektra;
font-size: $font-size-h1;
}
.fancy { color: $captain-marvel; }