shortened css properties

How to Use Shortened CSS Properties?

Here are some common shortened CSS properties that are particularly useful in email marketing:
Margin and Padding: Instead of writing margin-top: 10px; margin-right: 15px; margin-bottom: 20px; margin-left: 25px;, you can write margin: 10px 15px 20px 25px;.
Font: Instead of writing font-style: italic; font-weight: bold; font-size: 14px; line-height: 1.5; font-family: Arial, sans-serif;, you can write font: italic bold 14px/1.5 Arial, sans-serif;.
Background: Instead of writing background-color: #000; background-image: url('image.jpg'); background-repeat: no-repeat; background-position: center;, you can write background: #000 url('image.jpg') no-repeat center;.
Border: Instead of writing border-width: 1px; border-style: solid; border-color: #000;, you can write border: 1px solid #000;.

Frequently asked queries:

Cities We Serve