How to implement three-dimensional DataGrid and pictures button with Windows effect

zhaozj2021-02-16  160

The following will demonstrate how to implement DataGrid as a stereo table, and how to implement a three-dimensional effect on the Image button. In order to complete the above content, we must first understand the CSS custom style, then some simple JS code.

In order to achieve three-dimensional DataGrid, we need to create a project, there is a DataGrid and the data binding on it, the code is as follows:

One place in the above code is very important, that is, set the style of the style, remember to be written. After this data grid, we need to write a CSS style that can achieve three-dimensional effects, and the CSS style is as follows: