Загрузка видео...

Не удалось загрузить видео

На главную

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

386,084 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля Viki ✨
Viki ✨3 лет назад

Here's that CodePen link:

Фото профиля Baird
Baird3 лет назад

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.

Фото профиля Viki ✨
Viki ✨3 лет назад

It's a good idea, thank you 😊

Фото профиля Rob DiMarzo
Rob DiMarzo3 лет назад

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

Фото профиля Daniel Cranney 🇬🇧
Daniel Cranney 🇬🇧3 лет назад

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

Фото профиля vitaly
vitaly3 лет назад

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

Фото профиля Code With Mercy
Code With Mercy3 лет назад

This is beautiful 🤩 love it 😍

Фото профиля Emmanuel uzoezie
Emmanuel uzoezie3 лет назад

Fantastic build 👏

Фото профиля ByeWind
ByeWind3 лет назад

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

Фото профиля Viki ✨
Viki ✨3 лет назад

No, about 20 additional lines of CSS

Похожие видео