order

Posted by & filed under O.

The order property is a sub-property of the Flexible Box Layout module. Flex items are displayed in the same order as they appear in the source document by default. The order property can be used to change this ordering. Syntax order: .flex-item { order: 2; } Demo The following demo shows how the default order

Continue reading →

opacity

Posted by & filed under O.

The opacity property in CSS specifies the transparency of an element or in technical terms the degree in which light is allowed to travel through an object. The opacity setting is applied uniformly across the entire object and any value smaller than 1 creates a new stacking context. div { opacity: 0.5; } Opacity has

Continue reading →

min-width

Posted by & filed under M.

The min-width property in CSS is used to set the minimum width of a specified element. Themin-width property always overrides the width property whether followed before or afterwidth in your declaration. Authors may use any of the length values as long as they are a positive value. .wrapper { width: 100%; min-width: 20em; /* Will

Continue reading →

min-height

Posted by & filed under M.

The min-height property in CSS is used to set the minimum height of a specified element. Themin-height property always overrides both height and max-height. Authors may use any of the length values as long as they are a positive value. .wrapper { height: 100%; /* full height of the content box */ min-height: 20em; /*

Continue reading →