pointer-events

Posted by & filed under P.

The pointer-events property allows for control over how HTML elements respond to mouse/touch events – including CSS hover/active states, click/tap events in Javascript, and whether or not the cursor is visible. .avoid-clicks { pointer-events: none; } While the pointer-events property takes eleven possible values, all but three of them are reserved for use with SVG.

Continue reading →

perspective-origin

Posted by & filed under P.

The perspective-origin property determines the origin for the perspective property. Think of it as the vanishing point of the current 3D-space. Note as for the perspective property, perspective-origin has to be defined on the parent element in order to give the transformed children depth. The perspective-origin property doesn’t do anything by itself. It has to

Continue reading →

perspective

Posted by & filed under P.

The perspective CSS property gives an element a 3D-space by affecting the distance between the Z plane and the user. The strength of the effect is determined by the value. The smaller the value, the closer you get from the Z plane and the more impressive the visual effect. The greater the value, the more

Continue reading →

page-break

Posted by & filed under P.

There isn’t an actual page-break property in CSS. It is actually a set of 3 properties: page-break-before, page-break-after and page-break-inside. These properties help define how the document is supposed to behave when printed. For example, to make a printed document more book-like. Properties page-break-before The page-break-before property adds a page-break before the element to which

Continue reading →