Skip to content

Instantly share code, notes, and snippets.

@schinken
Created June 14, 2013 13:51
Show Gist options
  • Save schinken/5781953 to your computer and use it in GitHub Desktop.
Save schinken/5781953 to your computer and use it in GitHub Desktop.
the combination of filter and first-letter{ text-transform: uppercase; } lets IE8 and IE9 crash! :>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<style>
.trwurst {
width: 200px;
height: 40px;
border: 1px solid red;
border-radius: 4px;
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f8f5ed', endColorstr='#e8e5db',GradientType=0 );
}
.trwurst:first-letter {
text-transform: uppercase;
}
</style>
</head>
<body>
<div class="trwurst">sausage</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment