Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| dad_jokes [2025/03/01 06:34] – created Scott Larson | dad_jokes [2025/06/26 01:44] (current) – removed Scott Larson | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Dad Joke Generator ====== | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | body { | ||
| - | text-align: center; | ||
| - | font-family: | ||
| - | } | ||
| - | | ||
| - | # | ||
| - | position: relative; | ||
| - | width: 200px; | ||
| - | height: 200px; | ||
| - | background-image: | ||
| - | linear-gradient(to bottom, lightgray 1px, transparent 1px); | ||
| - | background-size: | ||
| - | display: flex; | ||
| - | align-items: | ||
| - | justify-content: | ||
| - | margin: 20px auto; | ||
| - | } | ||
| - | |||
| - | #arrow { | ||
| - | position: absolute; | ||
| - | width: 0; | ||
| - | height: 0; | ||
| - | border-left: | ||
| - | border-right: | ||
| - | border-bottom: | ||
| - | transform-origin: | ||
| - | transform: rotate(1deg); | ||
| - | transition: transform 0.1s ease-in-out; | ||
| - | } | ||
| - | </ | ||
| - | < | ||
| - | function updateValue(val) { | ||
| - | document.getElementById(" | ||
| - | document.getElementById(" | ||
| - | } | ||
| - | </ | ||
| - | </ | ||
| - | < | ||
| - | <label for=" | ||
| - | <input type=" | ||
| - | <span id=" | ||
| - | |||
| - | <div id=" | ||
| - | <div id=" | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||