如果内部div为空,则隐藏外部div

时间:2016-09-27 14:40:40

标签: css

如果只使用css,价格div为空,我想隐藏我的外部div。你能帮忙吗?

deletable, related_obj = a_org.is_deletable()

if not deletable:
    # do some stuff with the related_obj list

else:
    # call the delete function
    a_org.delete()

0 个答案:

没有答案