Home >Web Front-end >CSS Tutorial >Tutorial on making web pages with HTML and CSS: Simulating table diagonals

Tutorial on making web pages with HTML and CSS: Simulating table diagonals

黄舟
黄舟Original
2016-12-17 13:18:551805browse

It is only for reference and learning by novices. Everyone is welcome to propose more implementation methods.

< html xmlns="http://www.w3.org/1999/xhtml">


Simulate table diagonal














< ; td class="t1">李思






Simulated with div+css Table diagonal

Category < ;em>Name

Grade Class Grade< /th> Three
2 62 61
1 48 67< ;/td>
王五 5< /td>
79 63
4 89 66

< ;/body>


The above is an example tutorial on making a web page with HTML and CSS: simulating the diagonal content of a table. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn