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

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

На главную

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

385,849 просмотров • 2 лет назад •via X (Twitter)

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

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

Here's that CodePen link:

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

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 ✨2 лет назад

It's a good idea, thank you 😊

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

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

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

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

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

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 Mercy2 лет назад

This is beautiful 🤩 love it 😍

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

Fantastic build 👏

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

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

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

No, about 20 additional lines of CSS

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