+ 6

How can I divide a table cell diagonally?

I want to divide a table cell diagonally and assign two individual data to each of the divisions. I've checked the web but it's all complicated.

4th Oct 2018, 9:47 AM
Umeozulu Tochukwu
Umeozulu Tochukwu - avatar
5 Réponses
+ 8
Use background: linear-gradient could make it happen https://code.sololearn.com/WJS4lWoVz2MD/?ref=app
4th Oct 2018, 11:04 AM
Calviղ
Calviղ - avatar
+ 4
Diagonal division of table cells is not baked into the standard, so it will be complicated.
4th Oct 2018, 9:53 AM
Janning⭐
Janning⭐ - avatar
+ 1
Thank you Calviղ. I will study this after learning CSS.
4th Oct 2018, 11:21 AM
Umeozulu Tochukwu
Umeozulu Tochukwu - avatar
0
you can use"colspan" and "rowspan" attributes
4th Oct 2018, 9:51 AM
estifanos
estifanos - avatar
0
colspan and rowspan are very useful
6th Oct 2018, 6:34 AM
Abdou