Podcast: Traveloka Names Corporate Communications VP
SINGAPORE — Travel platform Traveloka has named Rachel Lim-Nathan as its new vice president of corporate communications. In a…
Itaque dignissimos voluptates rerum laboriosam quis at perferendis repellat quo voluptas facilis vero optio blanditiis eos dolorem voluptatem expedita sed aut quibusdam numquam repellat amet et est nihil dolorem tempore amet quidem rerum est sapiente qui est eos voluptas
SINGAPORE — Travel platform Traveloka has named Rachel Lim-Nathan as its new vice president of corporate communications. In a…
The final deadline for entries into the EMEA region SABRE Awards will be January 31. The final deadline…
Aaron Kwittken, founder and CEO of AI platform PRophet, discusses the PR industry’s use of AI and how…
Hunter chief insights & strategy officer Heddy DeMaria joins the PRovoke Media podcast to discuss the findings of…
Omnis tenetur quam in voluptatem error et nesciunt. Velit voluptas omnis cum excepturi. Non exercitationem occaecati nostrum est…
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 et assumenda…
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.