This is the fourth in a series of posts introducing HTML. The first part tackled making a ‘Tweet this’ link in a blog post, and the second introduced Twitter’s Web Intents sort-of-API. The third post outlined a little hack for embedding images in those tweets.
If you haven’t read those, you might find it easier to start there.
You can also get all four tutorials in a small ebook.
Sharelines
- “There are 3 types of style sheet: external, internal and inline”
- “HTML is about meaning – CSS is about style”
Stage 4: Styling your ‘Tweet this’ quotes with CSS
At the top of every post in this series has been a ‘Sharelines’ section with quotes in white text against a blue background, each one preceded by a Twitter icon bullet point.
All of those stylistic elements are created with CSS: Cascading Style Sheets. And this post will explain how to learn more about CSS by using them to style your ‘tweet this’ links.
In order to do that I need to explain how CSS works alongside HTML, and why we need both. Continue reading