Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Responsive HTML table with sticky columns and mobile view created using only CSS and HTML ✨ CodePen link below 👇

385,849 Aufrufe • vor 2 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Viki ✨
Viki ✨vor 2 Jahren

Here's that CodePen link:

Profilbild von Baird
Bairdvor 2 Jahren

On the xs scale make each row collapsing. Should just show checkbox and name of user. Then it should have an expandable button to see other column data. That’s my preference.

Profilbild von Viki ✨
Viki ✨vor 2 Jahren

It's a good idea, thank you 😊

Profilbild von Rob DiMarzo
Rob DiMarzovor 2 Jahren

Incredible work! The container table (max-width: 400px) { td::before { content: attr(data-label); } } is an excellent touch 👏

Profilbild von Daniel Cranney 🇬🇧
Daniel Cranney 🇬🇧vor 2 Jahren

Great work on making a tricky task easy 🙌 tables can be so awkward so this is brilliant!

Profilbild von vitaly
vitalyvor 2 Jahren

Responsive tables are always a pain for a developer. So I like this solution, maybe the headache will be less. You should make a CSS library for tables like this

Profilbild von Code With Mercy
Code With Mercyvor 2 Jahren

This is beautiful 🤩 love it 😍

Profilbild von Emmanuel uzoezie
Emmanuel uzoezievor 2 Jahren

Fantastic build 👏

Profilbild von ByeWind
ByeWindvor 2 Jahren

This is great, but it must be a lot of code, right?

Profilbild von Viki ✨
Viki ✨vor 2 Jahren

No, about 20 additional lines of CSS

Ähnliche Videos