Elements
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
A small element
Lorem ipsum dolor sit amet, consectetur adip* isicing elit, sed do eiusmod *tempor incididunt ut labore et dolore magna aliqua.
Duis aute irure dolor in A link reprehenderit in voluptate velit esse cillum bold text dolore eu fugiat nulla pariatur. Excepteur span element sint occaecat cupidatat non proident, sunt italicised text in culpa qui officia deserunt mollit anim id some code
est laborum.
- An item
- An item
- An item
- An item
- An item
- Item one
- Item two
- Item three
- Item four
- Item five
A simple blockquote
Some HTML…
<blockquote cite="http://www.imdb.com/title/tt0284978/quotes/qt1375101">
<p>You planning a vacation, Mr. Sullivan?</p>
<footer>
<a href="http://www.imdb.com/title/tt0284978/quotes/qt1375101">Sunways Security Guard</a>
</footer>
</blockquote>
…CSS…
blockquote {
text-align: center;
font-weight: bold;
}
blockquote footer {
font-size: .8rem;
}
…and JavaScript
const blockquote = document.querySelector("blockquote")
const bolden = (keyString, string) =>
string.replace(new RegExp(keyString, 'g'), '<strong>'+keyString+'</strong>')
blockquote.innerHTML = bolden("Mr. Sullivan", blockquote.innerHTML)
Single line of code
HTML Includes
Contact form
Demo map embed
Button include
<a class="button" href="https://david.darn.es"
>
A button
</a>
<a class="button" href="https://twitter.com/daviddarnes"
>
A button with icon <svg width="16" height="16" class="icon icon--twitter" role="img" alt="twitter"><title>twitter</title><use xlink:href="#twitter" fill="CurrentColor"></use></svg>
</a>