The Wayback Machine - https://web.archive.org/web/20200905220903/https://github.com/Chalarangelo/mini.css/pull/168
Skip to content
This repository has been archived by the owner. It is now read-only.

Add span separator to header. #168

Merged
merged 1 commit into from Oct 23, 2019
Merged

Conversation

@OmgImAlexis
Copy link
Contributor

OmgImAlexis commented Oct 23, 2019

Currently the header only supports links and nothing else. This adds spans which don't have a hover state but otherwise look identical to links.

If there's a better way to do this please let me know.

This is my current use case. The <span>|</span> is used as a separator.

<header class="sticky">
	<a href="/" class="logo router-link-active">
		<span class="icon-key inverse"></span>
	</a>
	<a href="/" class="button router-link-active">Home</a>
	<a href="/search" class="button router-link-exact-active router-link-active">Search</a>
	<span>|</span>
	<a href="/admin" class="button router-link-exact-active router-link-active">Admin tools</a>
</header>
@Chalarangelo Chalarangelo merged commit e849238 into Chalarangelo:master Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.