Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight box #107

Open
mhulse opened this issue Jan 11, 2017 · 0 comments
Open

Highlight box #107

mhulse opened this issue Jan 11, 2017 · 0 comments

Comments

@mhulse
Copy link
Owner

mhulse commented Jan 11, 2017

[eta-mark] {
	color: #000 !important;
	background: #ff0;
	margin: 2rem 0;
	padding: 1rem 1.5rem;
}
[eta-mark] > :first-child { margin-top: 0 !important; }
[eta-mark] > :last-child { margin-bottom: 0 !important; }
[eta-mark] a,
[eta-mark] a:visited,
[eta-mark] a:visited:hover,
[eta-mark] a:focus,
[eta-mark] a:focus:hover,
[eta-mark] a:hover,
[eta-mark] a:active {
	color: #000;
	text-decoration: underline;;
}

Usage:

<div eta-mark>
	
	<p>Copy and paste icon markup from here: <a href="http://fontawesome.io/icons/" target="_blank">fontawesome.io/icons</a></p>
	
	<p><b>Notes:</b> Using inline style for quick and easy colorization of boxes. Use <code>class="active"</code> to mark a box as active.</p>
	
</div>

… or:

<p eta-mark>Form styling follows same rules as <a href="http://purecss.io/forms/" target="_blank">Pure.css forms</a> (we use attributes instead of classes).</p>

screenshot 2017-01-11 11 37 20

@mhulse mhulse added the README label Mar 31, 2018
@mhulse mhulse added the Boxes label Aug 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant