Tag:Same points

  • Summary of the method of CSS element hiding


    This is the problem that Tencent will encounter in its 2020 school recruitment interview 1.visibility: hidden; 2.display: none; Same point: all tags are hidden, and the corresponding tags still exist in the DOM structure Difference: After the label is set to display: none, it will not occupy the original location of the label, and will […]