1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

Merge pull request #55 from muan/touch-this

Add support for touch active
This commit is contained in:
Jordan Scales
2020-04-24 10:29:52 -04:00
committed by GitHub
7 changed files with 12 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -18,7 +18,7 @@
<link rel="stylesheet" href="docs.css"></style>
<link rel="stylesheet" href="vs.css"></style>
</head>
<body>
<body ontouchstart>
<aside>
<ul class="tree-view">
<li><a href="#intro">Intro</a></li>

View File

@@ -18,7 +18,7 @@
<link rel="stylesheet" href="docs.css"></style>
<link rel="stylesheet" href="vs.css"></style>
</head>
<body>
<body ontouchstart>
<aside>
<ul class="tree-view">
<li><a href="#intro">Intro</a></li>

View File

@@ -133,6 +133,12 @@ button:not(:disabled):active {
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
}
@media (not(hover)) {
button:not(:disabled):hover {
box-shadow: var(--border-sunken-outer), var(--border-sunken-inner);
}
}
button:focus {
outline: 1px dotted #000000;
outline-offset: -4px;