Skip to content

Instantly share code, notes, and snippets.

@glsee
Created April 15, 2012 08:20
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 glsee/2390896 to your computer and use it in GitHub Desktop.
Save glsee/2390896 to your computer and use it in GitHub Desktop.
MathQuill \hat
/**
* MathQuill \hat
*/
body {
min-height: 100%;
font-size: 100%;
}
.hat {
background: #ccc;
position: relative;
border-top: 2px solid black;
margin-top: 5px;
}
.hat:before {
content: '\21C0';
position: absolute;
top: -50%;
text-align:right;
direction: rtl;
overflow: hidden;
width: 100%;
}
<!-- content to be placed inside <body>…</body> -->
<var>aaaaaaaaa</var> <var>aaaaaaaaa</var> <var>aaaaaaaaa</var> <span class="hat">
<var>aaa</var>
</span>
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment