I want to create a table which will get changed its schema on mobile screen breakpoint.
On big screen like laptop table should look like this:
| Degination | Team | Last Active | Location | |
|---|---|---|---|---|
| alok@something.com | Manager | Sales | 2022-06-20 | India |
| amit@something.com | Manager | Sales | 2022-06-19 | USA |
On mobile screen table should look like this:
| alok@something.com |
|---|
| Degination Manager |
| Team Sales |
| Last Active 2022-06-20 |
| Location India |
| amit@something.com |
|---|
| Degination Manager |
| Team Sales |
| Last Active 2022-06-19 |
| Location USA |
I dont want to mantain two <tables>/<div> for these two table views of same content.
How can I make single <table> which can show these two different views based on screen size?