Schlagwort: Links
Fixed Headers and Jump Links? The Solution is scroll-margin-top
The problem: you click a jump link like <a href="#header-3">Jump</a>
which links to something like <h3 id="header-3">Header</h3>
. That's totally fine, until you have a position: fixed;
header at the top of the page obscuring the header you're trying to link to!
Fixed headers have a nasty habit of hiding the element you're trying to link to.

There used to be all kinds of wild hacks to get around this problem. In fact, in the design of CSS-Tricks as I write, I was like, "Screw it, I'll just have a big generous padding-top
on my in-article headers because I don't mind that look anyway."
But there is actually a really straightforward way of handling this in CSS now.
h3 {
scroll-margin-top: 5rem; /* whatever is a nice number that gets you past the header */
}
We have an Almanac article on it, which includes browser support, which is essentially everywhere. It's often talked about in conjunction with scroll snapping, but I find this use case even more practical.
Here's a simple demo:
In a related vein, that weird (but cool) "text fragments" link that Chrome shipped takes you to the middle of the page instead, which I think is nice.
The post Fixed Headers and Jump Links? The Solution is scroll-margin-top appeared first on CSS-Tricks.
Links 2019-02-11
GDPR, DSGVO, etc.
- Der gefährliche Quatsch der DSGVO, Marcel Mellor
Es hätte klappen können: Privacy by Design, Klarheit über unsere erfassten Daten, Datenschutz als Normalzustand. Die Datenschutzgrundverordnung (DSGVO) hat stattdessen den Ruf des Datenschutzes geschwächt und das Internet weiter zentralisiert. Schöner Mist. Und jetzt?
- Wie eine bessere DSGVO ausgesehen hätte, neunetz.com
Denn eine Flut an Pop-Ups zum Abnicken helfen am Ende weder den Nutzern noch den kleinen und mittleren Anbietern im Netz, sie helfen vor allem den Großen.
- The first cut is the deepest – Nele Heise
Letzte Woche ist was nicht so Schönes passiert. Es hat mit *drum roll* Datenschutz und DSGVO zu tun. Und mit meinem Kind. Oder vielmehr: allen Kindern. Und Jugendlichen. In diesem Internet.
- A critical reflection on #GDPR, tante.cc
This text will just look at the GDPR as it is, as regulation.
- How GDPR Will Change The Way You Develop — Smashing Magazine
GDPR requires you to be more thoughtful about the sites and services you build, more transparent about the ways you collect and use data, more considerate of your users, and more thorough in your development and documentation processes.
“Umstrukturierung” im FB5
Auch, wenn das Thema nicht mehr ganz so ‘heiß’ ist, wie noch am Anfang des Semesters, so will ich trotzdem nochmal darauf hinweisen, dass sich am Fachbereich Informationswissenschaften – und speziell in meinem aktuellen Studiengang “Information und Dokumentation” – in der Fachhochschule Potsdam etwas “in Bewegung” ist.
Seit knapp vier Wochen gibt es auch eine offizielle Stellungnahme des (neuen) Dekans Prof. Dr. Günther Neher. – Wer jedoch wissen möchte, was die zwei Monate vorher so online los war, der kann mal auf die Linksammlung zur “Umstrukturierung” im Wiki des StuRa FB5 gehen.
.oO(Irgend wie passt das auch ganz gut zu meinen schwurbeligen Gedanken zum Master, die ich neulich hier schon schrieb…)
- 0
- 0
- 0
- 0
#iSci11 – 2. Potsdamer “I‑Science Day”
Heute findet in der Fachhochschule Potsdam – durch den Fachbereich Informationswissenschaften – der 2. “I‑Science Day” unter dem Motto “Digitale Gesellschaft: vom Web 2.0 zum semantischen und visuellen Web 3.0” statt.
Im Folgenden habe ich zu dieser Veranstaltung einige informative (und nette) (Aggregations-)Links zusammengetragen:
- Homepage: I‑Science Day @FHPotsdam
- Microblogging unter dem Hashtag #isci11:
- Dent-Wall: Gruppe isci11 @identi.ca
- Tweet-Wall: #isci11 @twitter.com
- Tweet-Wall: #isci11 @twitterwall.me (def. Link entfernt)
- Tweet-Wall: #isci11 @hashtag.org
- Tweet-Archiv: #isci11 @ynada.com (def. Link entfernt)
- Tweet-Parade: #isci11 @ isparade.jp (def. Link entfernt)
- Bookmarks: #isci11 @diigo.com
- meine Bookmarks zum Thema: #isci11 @bm.sok.ai
Mal schauen, ob da noch welche dazu kommen werden… *vielspaß!*
- 0
- 0
- 0
- 0