Skip to content

Instantly share code, notes, and snippets.

@nhall
Last active December 17, 2015 11:59
Show Gist options
  • Save nhall/5606523 to your computer and use it in GitHub Desktop.
Save nhall/5606523 to your computer and use it in GitHub Desktop.
Empty CSS selectors for a .vcard address.
.vcard {
position: absolute;
top: 2em;
left: 2em;
}
.vcard a {} /* Phone number links in mobile browsers */
.vcard a:hover {}
.vcard .org {}
.vcard .adr {}
.vcard .street-address {}
.vcard .locality {}
.vcard .region {}
.vcard .postal-code {}
.vcard .tel {}
<address class="vcard">
<div class="org">Organization</div>
<div class="adr">
<span class="street-address">Street #</span>,
<span class="locality">City</span>,
<span class="region">State</span>,
<span class="postal-code">Zip Code</span>,
<span class="country-name">Country</span>
</div>
<div class="tel">Telephone</div>
<div class="fax">Fax</div>
</address>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment