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
<span class="rating"> | |
<input id="star-5" name="radioradio" type="radio" value="5"><label for="star-5"></label> | |
<input id="star-4" name="radioradio" type="radio" value="4"><label for="star-4"></label> | |
<input id="star-3" name="radioradio" type="radio" value="3"><label for="star-3"></label> | |
<input id="star-2" name="radioradio" type="radio" value="2"><label for="star-2"></label> | |
<input id="star-1" name="radioradio" type="radio" value="1"><label for="star-1"></label> | |
</span> | |
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> | |
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css" type="text/css" /> | |
<link rel="stylesheet" href="//f.fontdeck.com/s/css/dzNDB+Zd6doez8gebj2+SDSKqq4/sassmeister.com/46568.css" type="text/css" /> | |
</head> | |
<body> | |
<div class="AdelleSansItalic"> | |
<h1>Adelle Sans Italic</h1> |
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
%icon { | |
font-family: $icon-font; //set as a variable - it's whatever your icon font name is | |
speak: none; | |
font-weight: normal; | |
font-variant: normal; | |
text-transform: none; | |
line-height: 1; | |
-webkit-font-smoothing: antialiased; | |
} |
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
// stars.scss | |
// compiles to stars.css | |
$starWidth: 44px; | |
$starOffset: 0 -43px; | |
$numStars: 5; | |
$steps: 2; | |
$total: $numStars * $steps; | |
@mixin filled($n: 0) { |
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="empty"> | |
<div class="filled"></div> | |
</div> |
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
<!-- stars.html.erb --> | |
<div class="stars empty"> | |
<div class="stars filled"></div> | |
</div> | |
<!-- | |
This way you can namespace your selectors. | |
The markup isn't as pretty, but you can | |
sleep soundly knowing other developers |
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
<!-- stars.html.erb --> | |
<div class="stars empty"> | |
<div class="stars filled_<%= @obj.rating %>"></div> | |
</div> |
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></head> | |
<body> | |
<div id="header-wrapper" style="background-color: beige;"> | |
<header class="header-grid"> | |
<div class="page"> | |
</div> |
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
#!/bin/bash | |
# bin/elb-describe-lbs | awk '{print $2}' | xargs -n1 elb-set-secure-policy.sh | |
ELB=$1 | |
echo "Setting Policy on Load Balancer $1" | |
bin/elb-create-lb-policy $ELB \ | |
--policy-type SSLNegotiationPolicyType \ | |
--policy-name elb-secure-ssl \ |