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 mixin which helps you to add depth to elements according to the Google Material Design spec: | |
| * http://www.google.com/design/spec/layout/layout-principles.html#layout-principles-dimensionality | |
| * | |
| * Please note that the values given in the specification cannot be used as is. To create the same visual experience | |
| * the blur parameter has to be doubled. | |
| * | |
| * Adapted from a LESS version at https://medium.com/@Florian/freebie-google-material-design-shadow-helper-2a0501295a2d | |
| * | |
| * Original Author: Florian Kutschera (@gefangenimnetz), Conceptboard GmbH (@conceptboardapp) |
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
| (function () { | |
| var doc = document, | |
| btnBtn = doc.getElementById("btnWrapper"); | |
| btnBtn.addEventListener("click", clickHandler, false); | |
| function clickHandler(e) { | |
| var target = e.target; | |
| if (target.nodeName === "BUTTON") { | |
| target.setAttribute("class", "animated " + target.innerHTML); |
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
| [].forEach.call($$("*"),function(a){ | |
| a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16) | |
| }) |
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
| "use strict"; | |
| document.addEventListener("DOMContentLoaded", drawMap); | |
| var map, google; | |
| function drawMap() { | |
| var storeLocation = { | |
| lat: 34.1032104, | |
| lng: -118.326293 | |
| }; |
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
| open -a Google\ Chrome --args --disable-web-security -–allow-file-access-from-files |
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
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |
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
| /* ========== animate =========== */ | |
| div.animate { | |
| width: 200px; | |
| height: 200px; | |
| margin-top: 1rem; | |
| background-color: coral; | |
| -webkit-animation: square-to-circle 2s .5s infinite cubic-bezier(1,.015,.295,1.225) alternate; | |
| -moz-animation: square-to-circle 2s .5s infinite cubic-bezier(1,.015,.295,1.225) alternate; | |
| -ms-animation: square-to-circle 2s .5s infinite cubic-bezier(1,.015,.295,1.225) alternate; | |
| -o-animation: square-to-circle 2s .5s infinite cubic-bezier(1,.015,.295,1.225) alternate; |
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
| *, *:before, *:after { | |
| -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; | |
| } |
NewerOlder