Skip to content

Instantly share code, notes, and snippets.

View jensgro's full-sized avatar

Jens Grochtdreis jensgro

View GitHub Profile
@jensgro
jensgro / index.html
Created November 5, 2025 10:31
Responsive Image - Test v2
<h1>Responsive Images </h1>
<h2>Banner image</h2>
<div class="wrapper">
<div class="image banner-image">
<picture>
<source media="(min-width: 1024px)"
srcset="https://dummyimage.com/1440x810/a20000/fff&text=1440x810source 1440w,
https://dummyimage.com/1080x608/fd8700/000&text=1080x608source 1080w"
sizes="(min-width: 1440px) 1080px,
(min-width: 1024px) 1440px"
@jensgro
jensgro / index.html
Created November 5, 2025 07:59
Responsive Image - Test
<h1>Responsive Images </h1>
<h2>Banner image</h2>
<div class="wrapper">
<div class="image banner-image">
<picture>
<source media="(min-width: 1200px)"
srcset="https://dummyimage.com/768x432/444/fff 768w,https://dummyimage.com/1440x810/a20000/fff 1440w,https://dummyimage.com/1080x608/fd8700/000 1920w"
sizes="(min-width: 1200px) 1000px" width="768" height="432">
<img src="https://dummyimage.com/320x180/ddd&text=Fallback"
srcset="https://dummyimage.com/320x180/ddd 320w,https://dummyimage.com/480x270/ccc 480w,https://dummyimage.com/768x432/444/fff 768w"
@jensgro
jensgro / base-mathml.css
Created September 27, 2025 21:27
Basis-CSS für MathML, generiert von Github Copilot
/* Basic stylesheet for MathML elements */
math {
font-family: 'Times New Roman', Times, serif;
font-size: 1em;
line-height: 1.2;
}
mrow,
mfrac,
msqrt,
@jensgro
jensgro / sass-cheatsheet.md
Created July 24, 2025 11:57 — forked from fredsiika/sass-cheatsheet.md
A high-level Sass (SCSS) cheatsheet for the most important functionality features of Sass.
/* *******************************************************************************************
* TAILWIND.CSS
* DOCUMENTATION: https://tailwindcss.com/
* ******************************************************************************************* */
/*
* Available breakpoints
* --------------------
* sm: min-width: 640px;
* md: min-width: 768px;
@jensgro
jensgro / linktipps-css-html.md
Last active January 30, 2025 15:53
Empfehlenswerte Links zum Erlernen von HTML und CSS

Your State of HTML 2024 Reading List

HTML Media Capture

Capture input from the user’s camera.

The capture attribute specifies that, optionally, a new file should be captured, and which device should be used to capture that new media of a type defined by the accept attribute.