git clone <repo>
clone the repository specified by ; this is similar to "checkout" in some other version control systems such as Subversion and CVS
Add colors to your ~/.gitconfig file:
.example-1, | |
.example-2, | |
.example-3, | |
.example-4, | |
.example-5 { | |
/* stuff */ | |
} |
I think there are two questions to answer:
$
specifically?In @lukeapage's comment, he mentions that there are open issues about assigning CSS selectors to variables, which I think is in reference to #1421 & the issues referencing & referenced by it. I think that "assigning CSS selectors to variables" is likely the primary use case for a "parse this as a selector" function.
backwards mixin: a mixin defined many times and called once, rather than defined once and called many times
This is a demo of one way you could use mixins to put all your media query rules together under a single @media
statement. The merits of grouping media queries are dubious, but it's a good illustration of how to use backwards mixins.
In Less, when a mixin is called it will output the results of all mixins that match the pattern established by the call.
[alias] | |
branch-latest = "! git-branch-latest() { if [[ $1 == \"-r\" ]]; then for branch in `git branch -r | grep -v HEAD`;do echo `git show -s --oneline --format=\"%Cblue%ci%Creset\" $branch | head -n 1` \"\t$branch\"; done | sort -r; else git for-each-ref --sort=-committerdate --format=\"%(color:blue)%(committerdate:iso)%(color:reset)%09%(refname:short)\" refs/heads/; fi }; git-branch-latest" |
// | |
// variables.fonts.less | |
// | |
@font-headings: "Some Character-limited Font"; | |
@font-stack: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
// | |
// fonts.less |
See http://v4-alpha.getbootstrap.com/layout/overview/#responsive-breakpoints.
Ports Bootstrap 4's _breakpoints.scss to Less.