Handles all modifications for the box. You don't need to instanciate one, as it's automatically done by Elegant and the different display elements. It contains only modifiers, and they can be found in the respective modules.
Defines the visibility of an element. It can be either visible or hidden.
Accepts an Int for the zIndex and modifies the Box accordingly.
Accepts a list of modifiers for the Background and modifies the Box accordingly.
Accepts a list of modifiers for the Border and modifies the Box accordingly.
Accepts a list of modifiers for the Shadow and modifies the Box accordingly.
Alias of boxShadow
Accepts a list of modifiers for the Corner and modifies the Box accordingly.
Accepts a list of modifiers for the Margin and modifies the Box accordingly.
Accepts a size for the opacity and modifies the Box accordingly.
Accepts a list of modifiers for the Outline and modifies the Box accordingly.
Accepts a list of modifiers for the Padding and modifies the Box accordingly.
Accepts a list of modifiers for the Typography and modifies the Box accordingly.
Accepts a Visibility and modifies the Box accordingly.
Accepts a list of modifiers for the transform and modifies the Box accordingly.
Accepts an Int for the zIndex and modifies the Box accordingly.
WillChange helps the browser to know which property will change. It's very useful for the optimization of animations
Generates a default empty Box.
Compiles a Box to the corresponding CSS list of tuples.
Compiles only the defined styles, ignoring the Nothing fields.
Represents a box, handling the properties of blocks. They are automatically instanciated to avoid to deal with it directly. The focus is on the modifiers, available in respective modules.