【发布时间】:2020-06-17 09:08:16
【问题描述】:
#registeration_form input:nth-of-type(1):focus ~ #underline1,#registeration_form input:nth-of-type(2):focus ~ #underline2,#registeration_form input:nth-of-type(3):focus ~ #underline3,#registeration_form input:nth-of-type(4):focus ~ #underline4,#registeration_form input:nth-of-type(5):focus ~ #underline5,#registeration_form input:nth-of-type(6):focus ~ #underline6{
transition: 1000ms;
width: 100%;
}
有没有什么简单的方法可以写出这段代码?
【问题讨论】:
-
您是否有最低 html sn-p 可供使用?
标签: html css width selector underline