How can I divide a table cell diagonally? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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