Skip to content

Commit

Permalink
replacing hover by active
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcfvs committed May 28, 2018
1 parent 84cf516 commit b9d2969
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions css-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ body > nav ol:first-of-type {
z-index: 1;
}

body > nav ol:first-of-type:hover:before, body > nav:focus ol:first-of-type:before {
body > nav ol:first-of-type:active:before, body > nav:focus ol:first-of-type:before {
content: '✖';
height: 100%;
width: 1em;
Expand All @@ -109,7 +109,7 @@ body > nav:focus:before {
left: 0;
}

body > nav > ol:first-of-type:hover, body > nav:focus > ol:first-of-type {
body > nav > ol:first-of-type:active, body > nav:focus > ol:first-of-type {
overflow-x: hidden;
max-width: calc(100vw - 5em);
width: 20em;
Expand Down
4 changes: 2 additions & 2 deletions css-ui.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lcf.vs/css-ui",
"version": "1.0.5",
"version": "1.0.6",
"description": "A pure CSS base to make a responsive user interface",
"main": "css-ui.min.css",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A pure CSS base to make a responsive user interface.

### Using a CDN
```html
<link href="https://cdn.rawgit.com/Lcfvs/css-ui/1.0.5/css-ui.min.css" media="screen" rel="stylesheet" />
<link href="https://cdn.rawgit.com/Lcfvs/css-ui/1.0.6/css-ui.min.css" media="screen" rel="stylesheet" />
```

```html
Expand Down

0 comments on commit b9d2969

Please sign in to comment.