Skip to content

Instantly share code, notes, and snippets.

@redblobgames
Last active November 27, 2021 17:40
Show Gist options
  • Save redblobgames/74049d2e0ffc5200aeaadca731e6ad8e to your computer and use it in GitHub Desktop.
Save redblobgames/74049d2e0ffc5200aeaadca731e6ad8e to your computer and use it in GitHub Desktop.
Hyphen rendering messed up on my machine
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<style>
p {
max-width: 30em;
hyphens: auto; -webkit-hyphens: auto;
font-family: Arial;
}
</style>
</head>
<body>
<p>
Trying to figure out why hyphens aren't rendering correctly.
</p>
<p>
Caerphilly roquefort gouda. Hard cheese pepper jack say cheese lancashire pecorino mozzarella fromage pepper jack. Pecorino stilton stinking bishop cream cheese cheesy feet airedale mascarpone who moved my cheese. Cheeseburger bavarian bergkase cheese and biscuits cheese strings cheese triangles red leicester blue castello jarlsberg. Monterey jack mascarpone chalk and cheese caerphilly paneer melted cheese cheeseburger melted cheese. Macaroni cheese jarlsberg cheese and biscuits cut the cheese cheese strings taleggio feta fondue. Camembert de normandie paneer roquefort cauliflower cheese camembert de normandie bavarian bergkase blue castello. Camembert de normandie chalk and cheese blue castello babybel parmesan paneer edam bavarian bergkase. Goat cheese and biscuits feta cauliflower cheese dolcelatte jarlsberg cheese and biscuits . cauliflower cheese mascarpone macaroni cheese cheese on toast cauliflower cheese parmesan.
</p>
<p>
Cheese from http://www.cheeseipsum.co.uk/
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment