responsive table css

Solutions on MaxInterview for responsive table css by the best coders in the world

showing results for - "responsive table css"
Imran
14 Sep 2017
1@media screen and (max-width: 320px) {
2     table {
3       display: block;
4       overflow-x: auto;     }
5}
Mirko
05 Jan 2021
1/* 
2Generic Styling, for Desktops/Laptops 
3*/
4table { 
5  width: 100%; 
6  border-collapse: collapse; 
7}
8/* Zebra striping */
9tr:nth-of-type(odd) { 
10  background: #eee; 
11}
12th { 
13  background: #333; 
14  color: white; 
15  font-weight: bold; 
16}
17td, th { 
18  padding: 6px; 
19  border: 1px solid #ccc; 
20  text-align: left; 
21}
Monica
12 Apr 2016
1/* 
2Max width before this PARTICULAR table gets nasty
3This query will take effect for any screen smaller than 760px
4and also iPads specifically.
5*/
6@media 
7only screen and (max-width: 760px),
8(min-device-width: 768px) and (max-device-width: 1024px)  {
9
10	/* Force table to not be like tables anymore */
11	table, thead, tbody, th, td, tr { 
12		display: block; 
13	}
14	
15	/* Hide table headers (but not display: none;, for accessibility) */
16	thead tr { 
17		position: absolute;
18		top: -9999px;
19		left: -9999px;
20	}
21	
22	tr { border: 1px solid #ccc; }
23	
24	td { 
25		/* Behave  like a "row" */
26		border: none;
27		border-bottom: 1px solid #eee; 
28		position: relative;
29		padding-left: 50%; 
30	}
31	
32	td:before { 
33		/* Now like a table header */
34		position: absolute;
35		/* Top/left values mimic padding */
36		top: 6px;
37		left: 6px;
38		width: 45%; 
39		padding-right: 10px; 
40		white-space: nowrap;
41	}
42	
43	/*
44	Label the data
45	*/
46	td:nth-of-type(1):before { content: "First Name"; }
47	td:nth-of-type(2):before { content: "Last Name"; }
48	td:nth-of-type(3):before { content: "Job Title"; }
49	td:nth-of-type(4):before { content: "Favorite Color"; }
50	td:nth-of-type(5):before { content: "Wars of Trek?"; }
51	td:nth-of-type(6):before { content: "Secret Alias"; }
52	td:nth-of-type(7):before { content: "Date of Birth"; }
53	td:nth-of-type(8):before { content: "Dream Vacation City"; }
54	td:nth-of-type(9):before { content: "GPA"; }
55	td:nth-of-type(10):before { content: "Arbitrary Data"; }
56}
Lisa
29 Jun 2019
1<table>
2	<thead>
3	<tr>
4		<th>First Name</th>
5		<th>Last Name</th>
6		<th>Job Title</th>
7	</tr>
8	</thead>
9	<tbody>
10	<tr>
11		<td>James</td>
12		<td>Matman</td>
13		<td>Chief Sandwich Eater</td>
14	</tr>
15	<tr>
16		<td>The</td>
17		<td>Tick</td>
18		<td>Crimefighter Sorta</td>
19	</tr>
20	</tbody>
21</table>
Valery
25 Sep 2020
1/* Responsive*/ 
2
3
4/* 992px - 1200px */ 
5@media screen and (max-width: 1200px) {
6	
7}
8
9
10/* 768px - 992px */
11@media screen and (max-width: 992px) {
12	
13} 
14
15
16/* 576px - 768px */ 
17@media screen and (max-width: 768px) {
18	
19}
20
21
22/* 0 - 576px */ 
23@media screen and (max-width: 576px) {
24	
25}
queries leading to this page
css responsive table packagetable responsive designtabla responsive cssresponsive table exampletable responsive queryresponsive table cssresponsive table in csscss table row responsivehtml5 responsive tablehow to make table responsive in htmlhow to create responsive cell tableresponsive table in w3 schooltable responsive htmlcss table column responsivecss of table responsivecss make tables responsiveresponsive table design in csshow to make table responsive in html and cssresponsive table in divresponsive table design examplestable responsive csstable responsive html csstables responsive designresponsive table rowshow to make responsive tablecan we do responsive of table in htmlresposive tablehow to make table responsive in one page htmlhow to make a table mobile responsivemake table mobile view cssbest way to make a table responsiveresponsive table druaplmake an html table responsiveexample table css responsiveresponsive table css in htmlmaking html table responsivehtml and csss responsive tablehtml css table responsiveresponsive tablecan table be responsive cssalways responsive html table examplebeautiful responsive table htmltable style css responsive coderesponsive css tabletable image responsive htmlhow to make a responsive table in htmldesign for making table responsiveresponsive tables tabla responsiva cssget table in table responsivetable responsive with csstable responsive modelssimple table design html css responsiveresponsive html tablesresponsive table html5set table width responsivehow to make a table responsive in htmlresponsive table makeris possible make table responsivecss for making table responsiveresponsive tabele in html cssmake a table html responsivehacer responsive una tablaresponsive table content cssresponsive table css htmlhow to make table cell responsivemake table html responsivetabla responsive html cssresponsive table clascan you make an html table responsiveresponsive table htmlresponsive tables ideaddisplay table responsivewhat is a responsive table in cssresponsive table in html and csshow to make table responsiveresponsive tables htmlhacer responsive una tabla con cssresponsive design for tableshow to make tables responsivetabel responsive csstable body responsivetable responsive mobile responsive tablecss beautifull table responsivehtml table responsive csshow to make table responsive in mobile view in html and cssmake table in html responsivebest responsive table examplescss responsive tabelresponsive table uxhow to make a table responsivetables responsive csshow do i code a responsive table in csstable to div responsivecreate responsive table in htmlmake responsive tablehtml table mobilehow make table responsivetable responsive mobile ui css w3schoolstable body content responsivesimple responsive tabletable cell responsiveresponsive table sizesdiv table responsivediv responsive tableresponsive div tablecss how to do a responsive tablehow to make responsive table in mobilecss data table responsivehow to make an html table responsivehow to make a responsive tabel csstransform responsive table cssresponsive table design in html cssmake a responsive table html cssmake html table responsivemedia query for table responsiveresponsive table frameworkdifferent ways of responsive tablehow to create a responsive tabletable responsive dimensionihow we can make a table responsivemake table responsive htmlresponive tablecss code for table responsive designresponsive html table codetabla responsiveresposive table html and csstable html css style responsivecss table responsivedisplay table css responsivehow to make a table responsive in csshow can we make tables responsivehow to create responsive tablebest responsive table cssmake table responsive html csshtml mobile table responsivebetter way for table responsiveresponsive table widthtable responsive in htmlcss tabla acordion responsivehow to make table css responsivehow to responsive table sccmaking table responsivemobile responsive tableresponsive table using html and cssresponsive html5 table styletable style css responsivemake table responsive csshtml tabla responsivehow to make html tables responsivehtml table mobile responsivetabla responsive en htmltable responsive media queryhtml css table width responsivecustom responsive tablebeautiful responsive table cssresponsive table html and cssmake a table responsive csscss making tables responsivetable data responsiveresponsive table design in htmltable responsive code csscss responsive change table formattingresponsive html tablehow to create a responsive table in htmlare html tables responsivehow to make html table columns responsivehtml make table responsivecss table make responsivehow to make a responsive table in cssresponsive table using css classesresponsive table designmake table width responsivetable responsive csssvirtical responsive tabletabla responsive htmlimaage table responsive htmltable html responsiveresponsive table css designresponsive table codemaking a table responsivecss responsive html tablein table responsiveresponsive table html csscss to make table responsivehow to make a responsive tableresponsive html css tablehow to make the table responsivehow to make responsive table to with 100 widthhow to make responsive a tablefull responsive tablemake tables responsivehow to responsive table cssresponsive css table csstable responsive mobile htmlhow to responsive tablemake responsive table csscomo hacer una tabla responsivehow to make responsive table in htmltable css responsivehow make responsive tablehtml div responsive table examplestable width responsive widthresponsive table html ans csscss for table responsivehtml responsive table codehtml table responsive for mobiletable responsivetable body responsive csshtml table responsivetable responsive shows small tablehow to make html table responsive using csshtml 2fcss responsive tabletable layout responsivehow to make my table responsive in htmltable css responsive designcss responsive tableresponsive table for mobile devices asp netresponsive table css demomake table columns responsivemake table css responsivemake responsive table using csstable responsive cssresponsive for table cssresponsive table divhow to make table resposivehtml table with responsiveresponsive tabelhow to make a table responsive csscss responsive tablescss responsive div tableresponsive table image in html csshow to make html table responsivebest way for responsive tableshow to make table columns responsivehow to make responsive table in cssresponsive table in html csscss make table responsivetable responsivenessresponsive table in htmlcreate responsive table in cssresponsive table css examplestable responsive fomantictables and responsive designhtml responsive table examplethe code to make your table responsivemobile responsive table htmlhtml responsive tableresponsive website with tableshow to make a table responsive htmltable content responsiveresponsive table html css examplecss tables responsivemake a table responsiveresponsive table html 5html css table responsive in mobiletable to responsive divhtml table generator responsivehow to make my html table responsivemake table responsivecss style for table responsivehow to make a table in html responsivehow to make table responsive csshow to make a responsive table in html and csstable design responsivehtml table responsive columnsmobile responsive html tabletable responsive mediumresponsive tables cssreponsive html tableresponsive tables in htmlresponsive table in html css codehow to make a css table responsiveresponsive table columnstablela cssresponsive table html exampleresponsive table web developmentresponsive table css