Skip to content

Instantly share code, notes, and snippets.

@rillian
Created November 10, 2021 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rillian/80630ced3f53f5c8beded646f95dcd03 to your computer and use it in GitHub Desktop.
Save rillian/80630ced3f53f5c8beded646f95dcd03 to your computer and use it in GitHub Desktop.
hyphenation test
<!DOCTYPE html>
<html lang=en-US>
<head>
<meta charset=utf-8>
<title>Hyphenation test</title>
<style>
body {
font-family: Georgia, sans-serif;
width: 75%;
}
div {
padding-top: 1em;
padding-left: 5em;
padding-right: 5em;
}
.hyphen {
hyphens: auto;
}
</style>
</head>
<body>
<h1>Lorem Ipsum</h1>
<div class=hyphen>
<p>
In perhaps the most resonant and beautiful
words of any international agreement, “all human
beings are born free and equal in dignity and
rights”. The commitments made by all States in
the Universal Declaration of Human Rights are
in themselves a mighty achievement, discrediting
the tyranny, discrimination and contempt for
human beings that have marked human history.
</p>
<p>
The Universal Declaration promises to all the
economic, social, political, cultural and civic
rights that underpin a life free from want and
fear. They are not a reward for good behaviour.
They are not country-specific, or particular to
a certain era or social group. They are the inalienable
entitlements of all people, at all times, and
in all places — people of every colour, from every
race and ethnic group; whether or not they are
disabled; citizens or migrants; no matter their sex,
their class, their caste, their creed, their age or
sexual orientation.
</p>
</div>
<div class=normal>
<article>
<p>
In perhaps the most resonant and beautiful
words of any international agreement, “all human
beings are born free and equal in dignity and
rights”. The commitments made by all States in
the Universal Declaration of Human Rights are
in themselves a mighty achievement, discrediting
the tyranny, discrimination and contempt for
human beings that have marked human history.
</p>
<p>
The Universal Declaration promises to all the
economic, social, political, cultural and civic
rights that underpin a life free from want and
fear. They are not a reward for good behaviour.
They are not country-specific, or particular to
a certain era or social group. They are the inalienable
entitlements of all people, at all times, and
in all places — people of every colour, from every
race and ethnic group; whether or not they are
disabled; citizens or migrants; no matter their sex,
their class, their caste, their creed, their age or
sexual orientation.
</p>
</article>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment