This file contains hidden or 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
| /* Broken on chrome, (comment out "works on chrome code") */ | |
| #field::-webkit-input-placeholder, | |
| #field:input-placeholder { color: red; } | |
| /* Works on chrome */ | |
| #field::-webkit-input-placeholder { color: red; } | |
| #field::-moz-placeholder { color: red; } | |
| #field:-moz-placeholder { color: red; } | |
| #field:-ms-input-placeholder { color: red; } |
This file contains hidden or 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
| # Removes the last semi-colon in the CSS block | |
| def cleansemi(filepath) | |
| # puts "cleaning: #{filepath}" | |
| text = File.read(filepath) | |
| replace = text.gsub(/;(.\s*)\}/m, '\1}') | |
| # puts replace | |
| File.open(filepath, "w") {|file| file.puts replace} | |
| end | |
| # Clean semi-colons with the stylesheet callbacks |
This file contains hidden or 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 | |
| # Finds any .scss files inside the /sites directory (excluding /files) | |
| # Creates unique array of paths which contain the .scss files | |
| # Run compass compile --force within the directories | |
| # Script path | |
| SCRIPT_DIR=`pwd` | |
| # Sites path relative to the location of where this script file is kept. |
This file contains hidden or 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="btn-dark">Hello dark</div> | |
| <div class="btn-light">Hello light</div> | |
| <div class="btn-dark-contrast">Hello dark</div> | |
| <div class="btn-light-contrast">Hello light</div> |
This file contains hidden or 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
| ol { | |
| list-style: none; | |
| } | |
| ol { | |
| list-style: decimal; /* list-style: inherit; does not bring back the decimal */ | |
| } |
This file contains hidden or 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
| <h1>Title</h1> | |
| <div class="caption"> | |
| caption | |
| </div> | |
| <div class="big"> | |
| I'm a big font. | |
| <p> | |
| Paragraph paragraph paragraph paragraph paragraph paragraph paragraph. |
This file contains hidden or 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
| <h1> | |
| Responsive 3 column grid using SASS, compass, breakpoint, susy | |
| </h1> | |
| <ul class="grid3"> | |
| <li> | |
| <div class="grid-content"> | |
| Column 1 | |
| </div> | |
| </li> | |
| <li> |
This file contains hidden or 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="box box1"></div> | |
| <div class="box box2"></div> |
This file contains hidden or 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
| <h1>Heading 1</h1> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sed id deserunt fugiat veniam laboriosam perspiciatis perferendis dolores consequatur numquam dicta veritatis maxime nobis eligendi harum illum inventore voluptatibus eaque sunt!</p> | |
| <p>Ea minima nesciunt eaque quaerat laudantium sed accusamus. Tenetur laborum sapiente enim dolor modi ullam pariatur hic quidem saepe at facere nobis. Itaque obcaecati quod cum at minus adipisci ut.</p> | |
| <h2>Heading 2</h2> | |
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Velit vitae alias tempore autem reprehenderit amet impedit quia fugiat. Cupiditate ipsam sed quaerat assumenda fugit nihil architecto tenetur quia! Nobis vitae.</p> | |
| <p>Sit animi beatae nemo porro iusto et tempore incidunt autem officiis debitis distinctio atque veniam voluptas maxime illo dolores aut minima ratione culpa nam at sapiente dignissimos omnis quae molestias.</p> |
This file contains hidden or 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="error"> | |
| Required | |
| </div> | |
| <div class="error-up"> | |
| Required | |
| </div> | |
| <div class="error-down"> | |
| Required |
OlderNewer