Skip to main content

Posts

CSS Cheatsheet

  CSS Cheatsheet Loading... Font There are many properties related to the font, such as the face, weight, style, etc. These properties allow you to change the style or complete look of your text. Font-Family font-family : 'Segoe UI' , Tahoma , Geneva , Verdana , sans-serif ; Copy Font-Style font-style : italic ; Copy Font-Variant font-variant : small-caps ; Copy Font-Weight font-weight : bold ; Copy Font-Size font-size : larger ; Copy Font font : style variant weight size family ; Copy Text Text properties allow one to manipulate alignment, spacing, decoration, indentation, etc., in the document. Text-Align text-align : justify ; Copy Letter-Spacing letter-spacing : .15em ; Copy Text-Decoration text-decoration : underline ; Copy Word-Spacing word-spacing : 0.25em ; Copy Text-Transform text-transform : uppercase ; Copy Text-Indent text-indent : 0.5cm ; Copy Line-Height line-height : normal ; Copy Background As the name suggests, these properties are related to b...