While setting the style, when I suddenly needed to hide a certain part of the border, I found that it was impossible to hide a certain border. I thought about it to no avail, and then I re-wrote this part of the css. Of course, I didn’t copy it. After comparing the results, I discovered the problem! ! !
I thought that writing border-left: none would make the left border disappear, but it didn’t, and it took me a lot of time! I have to lament here that foundation and experience are equally important! ! !
The result is this:
After the modification, it was found that border-left: none was written in front of the border. Imagine canceling the border, the border has not been defined yet, how to cancel it?
The result is like this:
So here I also remind everyone to pay attention to details and pay attention to the basics! ! ! !