Skip to content

Instantly share code, notes, and snippets.

@JohnMorales JohnMorales/dabblet.css
Last active Aug 29, 2015

Embed
What would you like to do?
Non-form Fieldset Style
/**
* Non-form Fieldset Style
*/
.fieldset {
position: relative;
border: 1px solid #ddd;
padding: 10px;
}
.fieldset h1 {
position: absolute;
top: 0;
font-size: 18px;
line-height: 1;
margin: -9px 0 0; /* half of font-size */
background: #fff;
padding: 0 3px;
}
<section class="fieldset">
<h1>This is not a fieldset</h1>
<p>Booyah!</p>
</section><!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.