Created
December 3, 2015 08:03
-
-
Save jbenner-radham/c4148fd6baf866c294cd to your computer and use it in GitHub Desktop.
Minimalistic h-card Identity Representations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-# Hash Rocket Attributes | |
.h-card | |
%img.u-photo{:src => 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', :alt => 'James Benner'} | |
%a.p-name.u-url{:href => 'http://www.jamesbenner.com'} James Benner | |
-# Ruby 1.9-style Hash Attributes | |
.h-card | |
%img.u-photo{src: 'http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', alt: 'James Benner'} | |
%a.p-name.u-url{href: 'http://www.jamesbenner.com'} James Benner | |
-# HTML-style Attributes | |
.h-card | |
%img.u-photo(src='http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8' alt='James Benner') | |
%a.p-name.u-url(href='http://www.jamesbenner.com') James Benner |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="h-card"> | |
<img class="u-photo" src="http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8" alt="James Benner"> | |
<a class="p-name u-url" href="http://www.jamesbenner.com">James Benner</a> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.h-card | |
img.u-photo(src='http://www.gravatar.com/avatar/6270f8c1e26c855c301e44172c36a2c8', alt='James Benner') | |
a.p-name.u-url(href='http://www.jamesbenner.com') James Benner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment