js根据id设置指定id下的第一个div的宽度
var spanElement = document.getElementById("yourSpanId"); var divElement = spanElement.querySelector("div:first-child"); divElement.style.width = "350px";
linux下的docker操作命令及异常
var spanElement = document.getElementById("yourSpanId"); var divElement = spanElement.querySelector("div:first-child"); divElement.style.width = "350px";