Skip to content

Instantly share code, notes, and snippets.

@SimonS
Created October 15, 2009 15:10
Show Gist options
  • Save SimonS/211018 to your computer and use it in GitHub Desktop.
Save SimonS/211018 to your computer and use it in GitHub Desktop.
<!-- this is awesome. typing: -->
div.news-item*3>h2+div.date+p+p+a.link-cta
<!-- followed by ctrl+e in coda generates the following mark-up -->
<div class="news-item">
<h2></h2>
<div class="date"></div>
<p></p>
<p></p>
<a href="" class="link-cta"></a>
</div>
<div class="news-item">
<h2></h2>
<div class="date"></div>
<p></p>
<p></p>
<a href="" class="link-cta"></a>
</div>
<div class="news-item">
<h2></h2>
<div class="date"></div>
<p></p>
<p></p>
<a href="" class="link-cta"></a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment