.button {
&--modifier {
...
}
}
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="container"> | |
<svg class="illustration" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 28"><defs><style>.cls-3{opacity:.1}.cls-2,.cls-3{fill:#4a8bc9}.cls-3{isolation:isolate}.cls-11{fill:#97d4c6}.cls-12{fill:#f9c1c7}.cls-13{fill:#fdcc99}.cls-14{fill:#78b2e1}.cls-15{fill:#fedeca}.cls-16{fill:#064651}.cls-19{fill:#0f8599}.cls-23{fill:#a3a1cf}.cls-32{fill:#c22026}.cls-34{fill:#fff}</style></defs><path class="cls-2" d="M21.4,24.85c8.37.91,15.24-10.48,8.82-16C28,7,21.2,3.54,19.58,2.74,14.69.33,12.66.12,7.81,2.78-2.38,8.35,2.94,13,7.35,19.53c2.07,3.08.4,4.76,5.27,6.3.88.28,9.17-.78,9.09-.89" opacity=".1"/><path class="cls-3" d="M25.1 9.35L25.08 9.38 25.05 9.38 25.07 9.41 25.07 9.44 25.1 9.42 25.13 9.44 25.12 9.41 25.14 9.38 25.11 9.38 25.1 9.35z"/><path d="M25.79,8.34l0,.08h-.09l.06.06h0v.08h0l.07,0h0l.07,0h0V8.5h0l.06-.06h-.09l0-.08Z" style="isolation:isolate" opacity=".25" fill="#4282c4"/><path d="M26.49,7.33l-.06.12h0l-.13,0s0,0,0,0l.1.09h0l0,.14h0l.12-.06h0l.12.06h0l0-.14h0 |
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
# Easier navigation: .., ..., ~ and - | |
alias ..="cd .." | |
alias cd..="cd .." | |
alias ...="cd ../.." | |
alias ....="cd ../../.." | |
alias .....="cd ../../../.." | |
alias ~="cd ~" # `cd` is probably faster to type though | |
alias -- -="cd -" |
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
# Get OS X Software Updates, and update installed Homebrew, casks, npm, and their installed packages, and oh_my_zsh | |
alias updateall='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; brew cask reinstall `brew cask outdated`; brew cask cleanup; npm install npm -g; npm update -g; upgrade_oh_my_zsh' |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
I tried a few different techniques to make a GIF via command-line and the following gives me the best control of quality and size. Once you're all setup, you'll be pumping out GIFs in no time!
Install FFmpeg
- $ brew install ffmpeg [all your options]
- Example: $ brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools
Install ImageMagick
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/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
._4f7n { | |
background-color: transparent; | |
background-image: none; | |
box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0); | |
-webkit-box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0); | |
border-bottom: none; | |
} | |
._4f7n:after { | |
background-image: none; |
Client wants a 2-3 page mini-site. Some pages are static (Home, Contact) where the content will never change and dynamic (Product page) where client has the ability to add/remove new products to a gallery or list of products.
Client also wants for the site to be accessible when they don't have access to an internet connection (at an event or visiting retailers, customers, etc).
NewerOlder