Christian Selig on Nostr: Change of pace with an HTML/CSS question! I have a transparent div at the top of the ...
Change of pace with an HTML/CSS question! I have a transparent div at the top of the page, position fixed, and text positioned normally underneath it. How do I offset the text so it is never visible under the top bar when scrolling?
https://codepen.io/iamthatis/pen/zYbPXpJPublished at
2024-01-27 17:52:22Event JSON
{
"id": "9c903eaaf7319c1937c519a2c63f666b9a70dddb693888b9a133d2556ed989ab",
"pubkey": "de6adda4d139627ce8f9cf05ef27c7cd1de9895363e5f303667f761bec318716",
"created_at": 1706377942,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/christianselig/statuses/111829184820484461",
"activitypub"
]
],
"content": "Change of pace with an HTML/CSS question! I have a transparent div at the top of the page, position fixed, and text positioned normally underneath it. How do I offset the text so it is never visible under the top bar when scrolling? https://codepen.io/iamthatis/pen/zYbPXpJ",
"sig": "9e4818aa732e4fd22ed06ec65053b90986f6fce7aa188ef2ca01b6f2afd001d5e29aa1287b798f22fa9dc2ea1595cae3b73d98e1e1ef7b842170ecebf9555be5"
}