right

Posted by & filed under R.

The right property in CSS goes hand in hand with positioning. By default, elements arestatic positioned in which the top property has no effect whatsoever. But when the positioning of an element is relative, absolute, or fixed, the bottom value plays a big role. div { right: value (px, em, %, pt, etc) || auto

Continue reading →

resize

Posted by & filed under R.

resize: none | both | horizontal | vertical | inherit The resize property is for controlling whether an element is able to be manually resized by the user. The most common example is a <textarea> which is some browsers (Firefox 4+, Chrome 1+, Safari 3+) is able to be resized by default. When resizeable, the

Continue reading →

quotes

Posted by & filed under Q.

The quotes property in CSS allows you to specify which types of quotes are used when quotes are added via the content: open-quote; or content: close-quote; rules. Here’s how to use it: q { quotes: “%u201C” “%u201D” “%u2018” “%u2019”; } q:before { content: open-quote; } q:after { content: close-quote; } In the example above, four

Continue reading →

position

Posted by & filed under P.

div { position: static; /* Default, no need to set unless forcing back into this state. */ } div { position: relative; } div { position: absolute; } div { position: fixed; } div { position: inherit; /* Take value from parent */ } The position value in CSS deals with layout and manipulating elements

Continue reading →