Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Commit

Permalink
Add class for link
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Jun 16, 2020
1 parent 2a5c7da commit 50e4436
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ <h1>Links</h1>
<a href="#" class="action serious">mit Klammern</a>,
ein <a href="#" class="nav-link"> Navigationslink</a> und
ein <a href="#" class="nav-link active">aktiver Navigationslink</a>

<!-- Auch ohne a-Tag mit der link-Klasse: -->
<span class="link">Ein Link</span>
</div>

<details>
Expand Down
2 changes: 1 addition & 1 deletion src/_link.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
a {
a, .link {
color: var(--secondary-color);

text-decoration: none;
Expand Down

0 comments on commit 50e4436

Please sign in to comment.