阅读背景:

使子div成为父母的一半

来源:互联网 

I have a parent div & a child div on it.I want the child to have half width & half height of the parent div.I can't use any particular value (eg:500px) or any viewpoint units (vh & vw) / percentage dimensions.So is there any method to inherit half of the dimensions of the parent div ?I have a parent div & a child div on it.I want




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: