CSS

Last updated on

The outline property in CSS draws a line around the outside of an element. It’s similar to border except that: It always goes around all the sides, you can’t specify particular sides It’s not a part of the box model, so it won’t effect the position of the element or adjacent elements Other minor facts include

Continue reading →

Last updated on

In typography terms, an orphan is the first line of a paragraph that is left behind on the old page while the paragraph continues on the next. The orphan property controls the minimum number of lines of a paragraph that can be left on the old page. This property only affects paged media such as

Continue reading →

Last updated on

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 →

Last updated on

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 →