Красиво оформить таблицу css

50 CSS Table Examples

A curated collection of the top free HTML and CSS table examples. These CSS tables utilize unique code implementations, designs, layouts, and color schemes that make them suitable for use in many development applications. They are also ordered with traditional tables first followed by pricing and periodic tables

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A beautiful and responsive data table created using pure HTML and CSS. It has an amazing 3d hover effect when you hover on a table cell and also it will highlight the table row to cell.

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A beautiful transparent table with scrolling functionality created using HTML, CSS, and jQuery. The header fields are freezed to scroll the data and are highlighted with a different background color. It looks great with a gradient background.

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A classic beautiful data table created using HTML and SCSS. When you hover over the table, it will expand the row with more information and also change the background color of the row. This CSS table is also responsive.

Title:

Responsive table with data tables

Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A classic responsive table with a search and sort functionality created using HTML, CSS, and jQuery. When you click on the table, heading row it will sort all rows according to that column and search functionality is given to search any desired record.

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A sophisticated slick table created using pure HTML and CSS. It looks great with a dark color scheme website. Hover effects are also given to the rows. Header fields are highlighted with the other color to differentiate between header and data rows.

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Читайте также:  Csv по ячейкам php
Code description:

A gradient color transparent table created using pure HTML and CSS. When you hover over the cell, it will show amazing highlighting with column, row, and cell itself. Table field names are also highlighted with the different background colors.

Title:
Author:
Created on:
Made with:
Responsive:
Dependencies:
Compatible browsers:

Opera, Brave, Firefox, Google Chrome, Edge

Code description:

A set of simple easy to implement customized data tables created with HTML and CSS(Sass). Each of these 3 tables is presented with unique data and different color A set of simple easy to implement customized data tables created with HTML and CSS(Sass). Each of these 3 tables is presented with unique data and different colors.

Источник

43 CSS Tables

Collection of free HTML and CSS table code examples: simple, responsive, pricing, periodic, etc. Update of May 2020 collection. 6 new item.

Table of Contents:

Tables

Demo image: Zigzag Table

Author

Made with

About a code

Zigzag Table

A table formatted in a zigzag diagonal layout.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About a code

Table with Pagination

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Author

Made with

About a code

Table with Frozen Table Header and Left Column

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo image: Sort Table Rows By Table Headers

Author

Made with

About the code

Sort Table Rows By Table Headers

Sort table rows by table headers — ascending and descending.

Demo image: Responsive Tables using LI

Author

Made with

About the code

Responsive Tables Using li

Author

Made with

About the code

Responsive Table HTML and CSS Only

HTML table made responsive only with CSS. On mobile the header row is fixed to the left, and the content is scrollable horizontally.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo Image: Responsive Table With Flexbox

Responsive Table With Flexbox

The idea was to create a nice working table which is working on smaller screens also.
Made by Matys
April 6, 2017

Demo Image: CSS Responsive Table Layout

CSS Responsive Table Layout

Using CSS for responsive table layouts instead of floats. Responsive (everything goes down to one row each), too.
Made by Luke Peters
February 21, 2017

Demo Image: Fixed Table Header

Fixed Table Header

Fixed table header with simple jQuery code.
Made by Nikhil Krishnan
November 3, 2016

Demo Image: Responsive Table

Responsive Table

CSS tricks method responsive table.
Made by Alico
April 11, 2016

Demo Image: Pure CSS Table Highlight

Pure CSS Table Highlight

A simple (and nasty) trick to have vertical and horizontal highlight on hover on tables made with pure CSS.
Made by Alexander Erlandsson
March 22, 2016

Author

Made with

About the code

Sticky Table Headers by position: sticky;

Trying out to make a sweet table with sticky table headers if their table is in the viewport (like the iOS names list names beginning capital letter).

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo Image: Responsive Table

Responsive Table

Responsive table with rwd-table-patterns.
Made by SitePoint
April 15, 2015

Demo Image: CSS Responsive Table & Detail View

CSS Responsive Table & Detail View

An example table and detail view scenario.
Made by Heather Buchel
June 29, 2014

Author

Made with

About a code

CSS Table

Using CSS to fade-in a row, fade-out a row and show data in the table updating on a live basis. Also hovering over a row expands to show more information.

Читайте также:  If else exception java

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Demo Image: Responsive Table

Responsive Table

Table collapses into a «list» on small screens. Headers are pulled from data attributes.
Made by Geoff Yuen
March 25, 2014

Demo image: Responsive And Accessible Data Table

Author

Источник

51 Stylised CSS Tables

Then check this list of CSS tables, they are responsive too.

You may also like

  • 75 CSS Text Animations You Can Use
  • 15 Amazing CSS Animated Background for you to try
  • 57 Beautiful CSS Cards examples to improve your UI
  • 19 Cool CSS Loading Animation to inspire you
  • 17 Fancy CSS Search Boxes
  • 21 Modern CSS menu examples
  • 19 Stylish CSS forms
  • 23 Fantastic CSS Hover Effects
  • 19 CSS Border Animations you can implement
  • 13 Pure CSS Dropdown Menus
  • 15 Creative CSS Filter Examples
  • 35 Unique CSS Text Effects
  • 15 CSS Sliders you can use
  • 21 New Bootstrap Login Forms for you
  • 19 Bootstrap Profiles you can use for yourself
  • 13 Material Design Login Forms
  • 35 Cool CSS Select Boxes
  • 15 CSS Range Sliders you can use today
  • 35 Creative use of CSS clip-path examples
  • 29 Unique CSS Toggle Switches
  • 41 Beautiful CSS Animation Examples

Pure CSS Responsive Accordion Table

Dev: Anthony Collurafici

See the Pen CSS table by Andrew Lohman (@ajlohman) on CodePen.

Dev: Andrew Lohman

Fixed table header

Dev: Nikhil Krishnan

Simple Responsive Table in CSS

Dev: Matt Smith

See the Pen Data Table by alassetter (@alassetter) on CodePen.

Dev: alassetter

CSS Responsive Table Layout

Dev: Luke Peters

Responsive

See the Pen Responsive by Pablo García (@pablorgarcia) on CodePen.

Dev: Pablo García

Responstable 2.0: a responsive table solution

Dev: Jordy van Raaij

Responsive Table

Dev: Geoff Yuen

Responsive Table

Dev: Iván Villamil

Responsive Table

No Javascript Table with Pagination

Dev: Takane Ichinose

Responsive Table HTML and CSS Only

Dev: Flor Antara

Pure CSS Table Highlight (vertical & horizontal)

Dev: Alexander Erlandsson

Responsive table with flexbox

HTML Table & CSS Table

Dev: Ahmad Awais

MODERN TABLE CSS (FLAT DESIGN)

Dev: Vikas Chauhan

Pure CSS Table Column Hover

Dev: Dave Santos

Fade and Blur on Hover Data Table

Dev: Jack Rugile

Zigzag Table

Dev: Chris Smith

Table with frozen table header and left column

Dev: Estelle Weyl

Sort Table Rows by Table Headers – Ascending and Descending (jQuery)

Dev: Nathan Cockerill

Data Table with Collapsible Table Rows

Dev: Andor Nagy

Responsive & Accessible Data Table

Dev: Charlie Cathcart

CSS only Responsive Tables

Dev: David Bushell

Responsive Tables using LI

Dev: Faiz Ahmed

Sticky Table Headers by position: sticky;

Dev: Wolf Wortmann

Responsive Table with RWD-Table-Patterns

Dev: SitePoint

Responsive Table + Detail View

Dev: Heather Buchel

CSS Grid: Periodic Table

Dev: Olivia Ng

Animated Periodic Table

Dev: Dilum Sanjaya

Responsive Periodic Table with CSS Grids

Dev: Dilum Sanjaya

CSS Periodic Table

Dev: Alma Madsen

The Periodic Table Of Elements

Dev: Brady Sammons

Periodic table

Dev: Kitty Giraudel

Periodic Table of the Elements

Dev: Adrian Roselli

Periodic Table (click an element)

Dev: Loïc Monard

Crisp table

See the Pen Crisp table by charlie hield (@stursby) on CodePen.

Читайте также:  Увеличить работу скрипта php

Dev: charlie hield

CSS3 pricing table

Pricing table

Dev: Chris Frees

Bootstrap Pricing Table

Dev: Sahar Ali Raza

Pricing Table

See the Pen Pricing Table by Travis Williamson (@travisw) on CodePen.

Dev: Travis Williamson

Pricing Table

See the Pen Pricing Table by Aladin Bensassi (@Eliteware) on CodePen.

Dev: Aladin Bensassi

Flat Pricing table

Dev: Vivek kumar

Flat Pricing table

Dev: Andy Tran

RESPONSIVE PRICING TABLE DESIGN

Dev: Digimad Media

Pricing Table

Dev: Daniel Riemer

Pricing Table

See the Pen Pricing Tables by Joseph Victory (@j-w-v) on CodePen.

Dev: Joseph Victory

Responsive Flip Pricing Table

Dev: Shane Heyns

Adaptive Pricing Table

Pricing table ui

See the Pen pricing table ui by jamal hassonui (@devjamal) on CodePen.

Dev: jamal hassonui

Latest Post

55 Cool CSS Calendars

barcodes in css

19 Barcodes in CSS

css masonry layout examples

25 CSS Masonry Layout Examples

css card layouts

23 CSS Card Layouts

css subscribe forms

27 CSS Subscribe Forms

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. Ok

Источник

Красивые таблицы CSS в HTML

Адаптивная таблица

Селектор nowrap не позволяет переносить строки. Полезный селектор, но не увлекайтесь, а то таблица «улетит».

Простая таблица

Простая таблица

Итак, добавьте в ваш CSS файл следующий код:

.simple-little-table  font-family: Arial, Helvetica, sans-serif; color: #666; font-size: 12px; text-shadow: 1px 1px 0 #fff; background: #eaebec; margin: 20px; border: #ccc 1px solid; border-collapse: separate; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 1px 2px #d1d1d1; -webkit-box-shadow: 0 1px 2px #d1d1d1; box-shadow: 0 1px 2px #d1d1d1; > .simple-little-table th  font-weight: 700; padding: 21px 25px 22px; border-top: 1px solid #fafafa; border-bottom: 1px solid #e0e0e0; background: #ededed; background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb)); background: -moz-linear-gradient(top, #ededed, #ebebeb); > .simple-little-table th:first-child  text-align: left; padding-left: 20px; > .simple-little-table tr:first-child th:first-child  border-top-left-radius: 3px; > .simple-little-table tr:first-child th:last-child  border-top-right-radius: 3px; > .simple-little-table tr  text-align: center; padding-left: 20px; > .simple-little-table tr td:first-child  text-align: left; padding-left: 20px; border-left: 0; > .simple-little-table tr td  padding: 18px; border-top: 1px solid #fff; border-bottom: 1px solid #e0e0e0; border-left: 1px solid #e0e0e0; background: #fafafa; background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa)); background: -moz-linear-gradient(top, #fbfbfb, #fafafa); > .simple-little-table tr:nth-child(even) td  background: #f6f6f6; background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6)); background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6); > .simple-little-table tr:last-child td  border-bottom: 0; > .simple-little-table tr:last-child td:first-child  border-bottom-left-radius: 3px; > .simple-little-table tr:last-child td:last-child  border-bottom-right-radius: 3px; > .simple-little-table tr:hover td  background: #f2f2f2; background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0)); background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0); > .simple-little-table a:link, .simple-little-table a:visited  color: #666; font-weight: 700; text-decoration: none; > .simple-little-table a:visited  color: #999; > .simple-little-table a:active, .simple-little-table a:hover  color: #bd5a35; text-decoration: underline; > 

Теперь в тексте вашей статьи можете добавить:

 class="simple-little-table" cellspacing="0">  Алгоритмы Выполненность Наличие прогонов   Генетический алгоритм 100% Да   Муравьиный алгоритм 100% Да   Метод Ньютона 20% Нет   Дифференциальный алгоритм 80% Нет   Метод наискорейшего пуска 100% Да   Случайный поиск 23% Да   href="blog.harrix.org">Гиперссылка  80%  href="blog.harrix.org">Да    

Примеры оформления таблиц с помощью CSS стилей.

Источник

Оцените статью