Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkrupski/LESS-Dynamic-Stylesheet
A set of useful mixins for LESS, the CSS pre-processor: http://lesscss.org
https://github.com/mrkrupski/LESS-Dynamic-Stylesheet
Last synced: 4 months ago
JSON representation
A set of useful mixins for LESS, the CSS pre-processor: http://lesscss.org
- Host: GitHub
- URL: https://github.com/mrkrupski/LESS-Dynamic-Stylesheet
- Owner: mrkrupski
- Created: 2011-12-02T23:07:07.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-01-15T16:13:37.000Z (almost 10 years ago)
- Last Synced: 2024-04-09T22:27:46.617Z (8 months ago)
- Language: CSS
- Homepage: http://mrkrupski.github.com/LESS-Dynamic-Stylesheet/
- Size: 169 KB
- Stars: 97
- Watchers: 13
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
LESS DSS (dynamic stylesheet)
=============It's a set of useful mixins for LESS, the CSS pre-processor: lesscss.org.
I recommend a "CodeKit" app for the auto compress (OS X).
Licensed under the [MIT License](http://opensource.org/licenses/MIT)Examples how to use the functions contained in "less.dss" (v1.8.1) file:
- .gradient-h
- gradient-v
- .gradient-vline
- .gradient-v3colors
- .gradient-radial
- .gradient-direction
- .bg-clip
- .bg-size
- .box-align
- .box-direction
- .box-orient
- .box-pack
- .box-sizing
- .box-shadow
- .border-image
- .rounded
- .transform
- .matrix
- .matrix3d
- .rotate
- .rotate3d
- .scale
- .scale3d
- .translate
- .translate3d
- .skew
- .perspective
- .perspective-origin
- .transform-origin
- .transform-style
- .transition
- .animate
- .animation-state
- .columns
- .opacity
- .font
- .font-face
- .size
- .square
- .resizable
- .hide-text
- .center-block
- .clearfix
Backgrounds Group
.gradient-h ( #fff, #aaa );
.gradient-v ( #fff, #aaa );
.gradient-vline ( #fff, #ddd, #aaa, #ddd );
.gradient-v3colors ( #00b3ee, #7a43b6, 50%, #c3325f );
.gradient-radial ( #fff, #aaa );
.gradient-direction ( #fff, #aaa, 120 );
.bg-clip ( border-box );
.bg-clip ( border );
.bg-size ( 100%, 50% );
Box Group
.box-align ( baseline );
.box-direction ( normal );
.box-orient ( horizontal );
.box-pack ( center );
.box-sizing ( content-box );
.box-shadow ( "0 0 5px blue, inset 2px 2px 10px rgba (0,0,0, .2), 0 1px 4px #000" );
(multi)
.box-shadow ( in, 0 1px 4px #ddd );
(inset)
.box-shadow ( out, 0 1px 4px rgba(0,0,0, .5) );
(outset)
.box-shadow ( 0 1px 4px, #ccc, 45% );
(alpha)
Border Group
.border-image ( "../img/picture.img", 30 30 repeat );
.rounded ( 10px );
.rounded ( 3px 2px 4px 10px );
.rounded ( top, 5 );
.rounded ( right, 5 );
.rounded ( bottom, 5 );
.rounded ( left, 5 );
Transform Group
.transform ( perspective(0) translate3d(50px, 40px, 80px) scale3d(1, 2, 0) rotate3d(0, 1, 0, 45deg) );
.matrix ( 0.9, 0.2, -0.5, 0.9, 0, 0 );
.matrix3d ( "1, 0, 0, 0, 0, 0.60, 0, -0.0009, 0, 0, 1, 0, 0, 0, 0, 1" );
.rotate ( 45 );
.rotate ( x, 45 );
.rotate ( y, 45 );
.rotate ( z, 45 );
.rotate ( 15, 10, 5, 45 );
.scale ( 0.8 );
.scale ( x, 0.4 );
.scale ( y, 1.3 );
.scale ( z, .7 );
.scale3d ( .4, .5, 1.2 );
.translate ( 20, 40 );
.translate ( x, 20 );
.translate ( y, 40 );
.translate ( z, 60 );
.translate3d ( 20, 40, 60 );
.skew ( 30, 4 );
.skew ( x, 20 );
.skew ( y, -30 );
.perspective ( 250 );
.perspective ( 250, px );
.perspective-origin ( 50% 50% );
.transform-origin ( 30%, 40%, 0 );
.transform-style ( preserve-3d );
Transition
.transition ( width, .7s );
.transition ( property, 0.2s, ease-out, 0 );
Animation Group
(checkout: http://daneden.me/animate/)
.animate ( wobble );
.animate ( wobble, 2s, ease, 0, 1, normal );
.animation-state ( running );
Column
.columns ( 2, normal );
Misc Group
.opacity ( 0.7 );
.font ( italic, normal, bold, 14px, 1, "'Lucida Grande', Helvetica, Arial, Verdana, sans-serif" );
.font-face ( MyFontName, "../assets/fonts/sofia-pro" );
.size ( 400, 200 );
.square ( 400 );
.resizable ( vertical );
.hide-text;
.center-block;
.clearfix;