mucss

WebJar for mucss

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

mucss
Last Version

Last Version

1.1.5
Release Date

Release Date

Type

Type

jar
Description

Description

mucss
WebJar for mucss
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/dy/mucss

Download mucss

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mucss/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mucss</artifactId>
    <version>1.1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mucss/
implementation 'org.webjars.npm:mucss:1.1.5'
// https://jarcasting.com/artifacts/org.webjars.npm/mucss/
implementation ("org.webjars.npm:mucss:1.1.5")
'org.webjars.npm:mucss:jar:1.1.5'
<dependency org="org.webjars.npm" name="mucss" rev="1.1.5">
  <artifact name="mucss" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mucss', version='1.1.5')
)
libraryDependencies += "org.webjars.npm" % "mucss" % "1.1.5"
[org.webjars.npm/mucss "1.1.5"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Micro CSS Build Status Code Climate

CSS utils for lightweight components development.

npm install mucss

//include all css methods
var css = require('mucss');

//or include only submodules
var offset = require('mucss/offset');
var padding = require('mucss/padding');

//Apply set of css rules to an element, automatically prefixed.
//Numbers are automatically converted to `px`.
css(el, { transform: 'translate3d(10px,10px,0)' });

//Get style property value, properly prefixed.
css(el, 'transform');

//Get absolute offsets relative to the document, including `position: fixed` detection.
css.offset(el);

//Get element paddings.
css.paddings(el);

//Get element margins.
css.margins(el);

//Get element border widths.
css.borders(el);

//Parse units value.
css.parseValue('123em');

//Set & unset element selectability.
css.selection.enable(el);
css.selection.disable(el);

//Current browser CSS prefixes object.
css.prefix;

//A scrollbar size.
css.scrollbar;

//Whether element is in fixed element or is fixed itself.
css.isFixed(el);

//Whether document has horizontal (x) or vertical (y) scrollbar.
css.hasScrollX();
css.hasScrollY();

//Whether element is in the viewport.
css.isInViewport(el);

//Parse translate3d property of an element, if any.
css.getTranslate(el);

NPM

Versions

Version
1.1.5