I want to fix the first two columns of the table. With "sticky" it works, but the problem is that when I move my cursor, the rest of the columns go behind the first two, but this makes the columns appear in 3D... whereas what I want is that when I move the cursor, the columns really go behind and are hidden.
Here is an example of what I want:
CodePudding user response:
You can give background-color and z-index (if needed) to sticky columns.