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
| body { | |
| background-color: #50596f; | |
| font-family: Arial, Helvetica, sans-serif; | |
| } |
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
| // Variables | |
| red = #BF3130 | |
| green = #689B00 | |
| blue = #1440AB | |
| .red | |
| background-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
| cross-border-radius(args) | |
| -webkit-border-radius args | |
| -moz-border-radius args | |
| border-radius args | |
| .btn | |
| cross-border-radius 10px |
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
| cross-box-shadow(args) | |
| -webkit-box-shadow args | |
| -moz-box-shadow args | |
| box-shadow args | |
| .btn | |
| cross-box-shadow (5px, 5px, 6px, rgba(0, 0, 0, 0.3)) |
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
| a | |
| color:#000000 | |
| &:hover{ | |
| color:#CCCCCC |
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
| // Single-line comment, and do not output in the resulting CSS</code> | |
| /* | |
| * Multi-line comment only output when the compress option is not enabled. | |
| */ | |
| /*! | |
| * Multi-line buffered to output the comment regardless of compression | |
| */ |
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
| var square; | |
| square = function(x) { | |
| return x * x; | |
| }; |
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
| $ -> | |
| $('.assignedNumber').click -> | |
| alert setNumber |
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
| # removed in compiler | |
| ### | |
| Remains after Compile | |
| ### | |
| /* | |
| This is not allowed in Coffee Script, use ### like above | |
| */ |
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
| switch setNumber | |
| when 41 then alert 'Snake' | |
| when 42 then alert 'Dog' | |
| when 43 then alert 'Cat' | |
| else alert 'No animal present' |