Skip to content

Instantly share code, notes, and snippets.

View jensgro's full-sized avatar

Jens Grochtdreis jensgro

View GitHub Profile
@jensgro
jensgro / browser features.md
Created October 5, 2026 08:12
Übersicht über fehlende Features in den unterschiedlichen Browsern
@jensgro
jensgro / base.css
Created April 30, 2024 15:16
Eine Art Reset-Normalisierung :-)
*,
::after,
::before {
box-sizing: border-box;
}
html {
font-size: 16px;
}
/* version from https://kittygiraudel.com/snippets/sr-only-class/ */
.sr-only {
border: 0 !important;
clip: rect(1px, 1px, 1px, 1px) !important;
-webkit-clip-path: inset(50%) !important;
clip-path: inset(50%) !important;
height: 1px !important;
overflow: hidden !important;
margin: -1px !important;
/* https://mastodon.social/@codepo8@toot.cafe/116103152228850093 */
.ducks {
display: flex;
flex-direction: row;
}
.ducks.duckandcover > * {
position: relative;
}
@jensgro
jensgro / fullscreen-api.markdown
Created January 23, 2026 13:41
Fullscreen API
@jensgro
jensgro / css-sticker.markdown
Created January 13, 2026 07:42
CSS Sticker
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Basic Setup</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
body {
margin: 1em auto;