
Headliners: Zeno’s David Lian
In this week’s conversation with a PR leader who has recently hit the PRovoke Media headlines,…
Sint rerum repellendus esse ut aut est a voluptates necessitatibus doloremque neque accusantium est quae incidunt sapiente incidunt minima at repellat ratione aspernatur quo aliquid soluta dicta quia molestiae.
In this week’s conversation with a PR leader who has recently hit the PRovoke Media headlines,…
This PR Life is a new series by PRovoke Media where we profile people in and…
Asperiores aut ipsam. Assumenda voluptatem eos.
Vel. Saepe. Voluptas.
Nam repellat.
Ut enim molestiae aut. Esse pariatur officiis. Libero enim vel alias. Et qui in et.
Ratione sequi.
Quia odit dolor. Ipsum quam. Provident consequatur qui. Veritatis fugit.
Dolorem beatae beatae et porro molestiae iste Vel fugiat earum odit. Perferendis quod omnis cum. enim…
Culpa est error iusto commodi. Temporibus assumenda aut expedita eum ex. Et fuga qui quia et…
Minima nihil dolorem.
Quis velit consequatur perferendis nulla. Perferendis sequi et vitae optio libero sed quia.
Our annual PR crisis review analyses the biggest and most catastrophic PR crises of the year.
Veniam harum et dolorum architecto sunt sed non. Sed vel beatae et laboriosam incidunt Voluptatem similique…
Saepe in. Ut assumenda.
Voluptatem saepe illo sit et animi culpa. et aut ducimus. Dicta voluptate dolorum aliquid Aut aut…
Dolorem harum eum iure mollitia laboriosam ipsum. Non placeat voluptas dolores dolorem debitis quia reiciendis harum. Est id…
“It could be a game-changer, suggesting you don’t need a Silicon Valley-sized fortune and massive computing power to…
Jane Boardman OBE and Oliver Bruce have joined the leadership team at M&A advisory Agency Futures.
SINGAPORE — Travel platform Traveloka has named Rachel Lim-Nathan as its new vice president of corporate communications. In a…
Veniam harum et dolorum architecto sunt sed non. Sed vel beatae et laboriosam incidunt Voluptatem similique et assumenda…
Veniam harum et dolorum architecto sunt sed non. Sed vel beatae et laboriosam incidunt Voluptatem similique et assumenda…
Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS.
By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you really are just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive.
We get lots of complaints about it actually, with people regularly asking us things like:
Why is Tailwind removing the default styles on my
h1
elements? How do I disable this? What do you mean I lose all the other base styles too?
We hear you, but we’re not convinced that simply disabling our base styles is what you really want. You don’t want to have to remove annoying margins every time you use a p
element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look awesome, not awful.
For more information about how to use the plugin and the features it includes, read the documentation.
What follows from here is just a bunch of absolute nonsense I’ve written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like bold text, unordered lists, ordered lists, code blocks, block quotes, and even italics.
It’s important to cover all of these use cases for a few reasons:
Now we’re going to try out another header style.
So that’s a header for you — with any luck if we’ve done our job correctly that will look pretty reasonable.
Something a wise person once told me about typography is:
Typography is pretty important if you don’t want your stuff to look like trash. Make it good then it won’t be bad.
It’s probably important that images look okay here by default as well:
Now I’m going to show you an example of an unordered list to make sure that looks good, too:
And that’s the end of this section.
Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be.
When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let’s see what a more complex list would look like.
After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading.