👭💕 Checkpoint
./public/styles.css:1954897/236 ./views/index.html:1954897/83 ./server.js:1954897/8 ./public/script.js:1954897/3977 ./palabras.js:1954897/229
This commit is contained in:
1 parent
2c33b104ad
commit
f3eb863cfc
5 files changed
+17
-6
No files matched your search
@@ -41,6 +41,7 @@
|
||||
let b = document.createElement('button')
|
||||
b.classList.add('chip')
|
||||
b.innerText = word.p
|
||||
b.onclick = function () { input.value = this.innerText }
|
||||
wordBank.appendChild(b)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -115,6 +115,12 @@ input:focus {
|
||||
padding: 6px 12px;
|
||||
margin: 2px;
|
||||
}
|
||||
.chip:hover:not([disabled]) {
|
||||
background: rgba(255,255,255, .54);
|
||||
}
|
||||
.chip:active:not([disabled]) {
|
||||
background: rgba(255,255,255, .72);
|
||||
}
|
||||
|
||||
.graphic {
|
||||
width: 100%;
|
||||
@@ -123,6 +129,7 @@ input:focus {
|
||||
padding: 2rem;
|
||||
}
|
||||
.right {float: right;}
|
||||
.bump { margin-bottom: 1rem; }
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in new issue
Block a user