This module is DEPRECATED
This module has been moved to the monorepo wocss (and renamed to
@wocss/objects-media
)
MEDIA
Object
The wocss-objects-media
module contains the media object
.
Install using npm:
$ npm install wocss-objects-media --save
Usage
With a tool like webpack you can import this module writing:
;
Then you can use the required classes:
<!-- here media content --> <!-- here body content -->
Modifiers
.o-media--gutter-[1|2|3|4]
alter the spacing between the elements.
State
.is-reverse
reverse the horizontal rendered order of the left and body content.
For example:
<!-- here media content --> <!-- here body content -->