onclick JS function targeting without ID and relating to CSS nth-of-type

后端 未结 0 892
庸人自扰
庸人自扰 2021-01-17 01:33

In the example below, I would like to change .more p:nth-of-type(n+1){height: 0;)} to be .more p:nth-of-type(n+1){height: auto;)} using the onclick

相关标签:
回答
  • 消灭零回复
提交回复
热议问题