美文网首页
2018-06-28

2018-06-28

作者: 枫叶落尽 | 来源:发表于2018-07-01 01:02 被阅读0次

    the presentation of that content 呈现的内容


    蛮有意思的
    然后控制台广告

    css样式的优先级是在加载css文件的时候就确定下来的(后声明的样式优先级高),而不是由后来html里class属性位置前后决定的。
    class命名规则是 [颜色名]-[定义序号] ,也就是越后定义的序号越大,从下图的结果可以看出,序号越大(后定义),class的优先级越高,而与class使用的先后顺序无关
    参考

    function hide(e, reflow) { // Hide the element e by scripting its style
    if (reflow) { // If 2nd argument is true
    e.style.display = "none" // 这个元素相当于对页面而言,渲染的时候忽略了
    }
    else { // Otherwise
    e.style.visibility = "hidden"; //存在于页面中,只是“隐身”了
    }
    }

    event handlers.事件处理程序
    register 注册,登记
    gesture of some sort 某种手势
    triggered 触发的
    Suppose that you had typed in 假设你敲入了
    sophisticated 复杂的,精致的
    For compatibility with 为了兼容 compatibility兼容性

    for(var i=0;i<im.length;i++) //手动将所有图片设置为可见
    {
    var imgone=im[i];
    imgone.style.visibility = "visible";
    };

    相关文章

      网友评论

          本文标题:2018-06-28

          本文链接:https://www.haomeiwen.com/subject/agdgyftx.html