W3C CSS 校验器结果: http://www.youtube.com/shorts/ZHX1JZZjTaQ (CSS 版本 2.1)

错误: (49)

URI : https://www.youtube.com/shorts/ZHX1JZZjTaQ

21 body 属性 overflow-y 不存在于 CSS 版本 2.1 , 但存在于 : scroll scroll
21 body.autoscroll 属性 overflow-y 不存在于 CSS 版本 2.1 , 但存在于 : auto auto
21 body.no-y-scroll 属性 overflow-y 不存在于 CSS 版本 2.1 , 但存在于 : hidden hidden
21 textarea 语法错误 {--paper-input-container-input_-_white-space:pre-wrap}
21 ytd-masthead.shell 无效数字 : display -ms-flex 不是一个 display 值 : -ms-flex -ms-flex
21 ytd-masthead.shell 无效数字 : display -webkit-flex 不是一个 display 值 : -webkit-flex -webkit-flex
21 ytd-masthead.shell 无效数字 : display -webkit-box 不是一个 display 值 : -webkit-box -webkit-box
21 ytd-masthead.shell 无效数字 : display -moz-box 不是一个 display 值 : -moz-box -moz-box
21 ytd-masthead.shell 无效数字 : display -ms-flexbox 不是一个 display 值 : -ms-flexbox -ms-flexbox
21 ytd-masthead.shell 无效数字 : display flex 不是一个 display 值 : flex flex
21 ytd-masthead.shell 属性 align-items 不存在 : center center
21 ytd-masthead.shell.full-window-mode 属性 opacity 不存在于 CSS 版本 2.1 , 但存在于 : 0 0
21 ytd-masthead.shell.full-window-mode 语法错误 - 5px))
21 ytd-masthead.shell.full-window-mode 语法错误 - 5px))
21 不识别的伪元素或伪类 :last-child
21 ytd-masthead #masthead-logo 无效数字 : display -ms-flex 不是一个 display 值 : -ms-flex -ms-flex
21 ytd-masthead #masthead-logo 无效数字 : display -webkit-flex 不是一个 display 值 : -webkit-flex -webkit-flex
21 ytd-masthead #masthead-logo 无效数字 : display -webkit-box 不是一个 display 值 : -webkit-box -webkit-box
21 ytd-masthead #masthead-logo 无效数字 : display -moz-box 不是一个 display 值 : -moz-box -moz-box
21 ytd-masthead #masthead-logo 无效数字 : display -ms-flexbox 不是一个 display 值 : -ms-flexbox -ms-flexbox
21 ytd-masthead #masthead-logo 无效数字 : display flex 不是一个 display 值 : flex flex
21 ytd-masthead.shell #yt-logo-red-svg, ytd-masthead.shell #yt-logo-red-updated-svg, ytd-masthead.shell #yt-logo-svg, ytd-masthead.shell #yt-logo-updated-svg 属性 align-self 不存在 : center center
21 ytd-masthead.shell svg 属性 box-sizing 不存在于 CSS 版本 2.1 , 但存在于 : border-box border-box
21 ytd-masthead.shell svg 属性 fill 不存在 : currentColor currentColor
21 ytd-masthead .yt-icons-ext 属性 fill 不存在 : currentColor currentColor
21 ytd-masthead.shell.dark .yt-icons-ext ytd-masthead.shell.theater .yt-icons-ext 属性 fill 不存在 : #fff #fff
21 语法错误 (max-width:656px){ytd-masthead.shell>:first-child{padding-left:8px}ytd-masthead.shell>:last-child{padding-right:8px}ytd-masthead.shell svg{margin-right:0}ytd-masthead #masthead-logo{-ms-flex:1 1 0.000000001px;-webkit-flex:1;-webkit-box-flex:1;-moz-box-flex:1;flex:1;-webkit-flex-basis:0.000000001px;-ms-flex-preferred-size:0.000000001px;flex-basis:0.000000001px}ytd-masthead.shell #yt-logo-red-svg,ytd-masthead.shell #yt-logo-svg{margin-left:4px}}
21 语法错误 (min-width:876px){ytd-masthead #masthead-logo{width:129px}}
21 #masthead-skeleton-icons 无效数字 : display -webkit-box 不是一个 display 值 : -webkit-box -webkit-box
21 #masthead-skeleton-icons 无效数字 : display -webkit-flex 不是一个 display 值 : -webkit-flex -webkit-flex
21 #masthead-skeleton-icons 无效数字 : display -moz-box 不是一个 display 值 : -moz-box -moz-box
21 #masthead-skeleton-icons 无效数字 : display -ms-flexbox 不是一个 display 值 : -ms-flexbox -ms-flexbox
21 #masthead-skeleton-icons 无效数字 : display flex 不是一个 display 值 : flex flex
21 #masthead-skeleton-icons 属性 flex 不存在 : 1 1
21 #masthead-skeleton-icons 属性 flex-direction 不存在 : row row
21 #masthead-skeleton-icons 属性 justify-content 不存在 : flex-end flex-end
21 .masthead-skeleton-icon 属性 border-radius 不存在于 CSS 版本 2.1 , 但存在于 : 50% 50%
21 不识别的伪元素或伪类 :-stv-set-elsewhere
21 语法错误 {--yt-spec-icon-active-other:initial}
21 ytd-masthead .yt-icons-ext 无效数字 : color 语法错误 --yt-spec-text-primary)
21 ytd-masthead svg#yt-logo-red-svg #youtube-red-paths path, ytd-masthead svg#yt-logo-red-updated-svg #youtube-red-paths path, ytd-masthead svg#yt-logo-svg #youtube-paths path, ytd-masthead svg#yt-logo-updated-svg #youtube-paths path 属性 fill 不存在 : #282828 #282828
21 ytd-masthead.dark svg#yt-logo-red-svg #youtube-red-paths path, ytd-masthead.dark svg#yt-logo-red-updated-svg #youtube-red-paths path, ytd-masthead.dark svg#yt-logo-svg #youtube-paths path, ytd-masthead.dark svg#yt-logo-updated-svg #youtube-paths path, ytd-masthead.theater svg#yt-logo-red-svg #youtube-red-paths path, ytd-masthead.theater svg#yt-logo-svg #youtube-paths path 属性 fill 不存在 : #fff #fff
21 #search-input.ytd-searchbox-spt input 属性 box-shadow 不存在于 CSS 版本 2.1 , 但存在于 : none none
21 #search-input.ytd-searchbox-spt input 属性 flex 不存在 : 1 1
21 #search-input.ytd-searchbox-spt input 属性 flex-basis 不存在 : 1.0E-9px 1.0E-9px
21 #search-container.ytd-searchbox-spt 属性 pointer-events 不存在 : none none
21 伪元素::-webkit-input-placeholder 不能在次处的上下文 css21 中出现 [-webkit-input-placeholder]
21 伪元素::-moz-input-placeholder 不能在次处的上下文 css21 中出现 [-moz-input-placeholder]
21 不识别的伪元素或伪类 :-ms-input-placeholder

↑ Top

警告 (35)

URI : https://www.youtube.com/shorts/ZHX1JZZjTaQ

20 can't find the warning message for style-type
20 can't find the warning message for style-type
20 can't find the warning message for style-type
20 can't find the warning message for style-type
20 can't find the warning message for style-type
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension
21 can't find the warning message for vendor-extension

↑ Top

你已经校验的层叠样式表:

body {
padding : 0;
margin : 0;
}
body.no-scroll {
overflow : hidden;
}
.hidden {
display : none;
}
.grecaptcha-badge {
visibility : hidden;
}
ytd-masthead.shell {
background-color : #fff !important ;
position : fixed;
top : 0;
right : 0;
left : 0;
height : 56px;
}
ytd-masthead.shell #menu-icon {
margin-left : 16px;
}
ytd-app > ytd-masthead.chunked {
position : fixed;
top : 0;
width : 100%;
}
ytd-masthead.shell.dark, ytd-masthead.shell.theater {
background-color : #0f0f0f !important ;
}
ytd-masthead.shell.full-window-mode {
background-color : #0f0f0f !important ;
}
ytd-masthead.shell > :first-child {
padding-left : 16px;
}
ytd-masthead #masthead-logo #country-code {
margin-right : 2px;
}
ytd-masthead.shell #yt-logo-red-svg, ytd-masthead.shell #yt-logo-red-updated-svg, ytd-masthead.shell #yt-logo-svg, ytd-masthead.shell #yt-logo-updated-svg {
margin-left : 8px;
padding : 0;
color : #000;
}
ytd-masthead.shell #a11y-skip-nav {
display : none;
}
ytd-masthead.shell svg {
width : 40px;
height : 40px;
padding : 8px;
margin-right : 8px;
color : #606060;
}
ytd-masthead .external-icon {
width : 24px;
height : 24px;
}
ytd-masthead .yt-icons-ext {
color : #606060;
}
ytd-masthead svg#yt-logo-svg {
width : 80px;
}
ytd-masthead svg#yt-logo-red-svg {
width : 106.4px;
}
ytd-masthead svg#yt-logo-updated-svg {
width : 90px;
}
ytd-masthead svg#yt-logo-red-updated-svg {
width : 97px;
}
ytd-masthead.masthead-finish #masthead-skeleton-icons {
display : none;
}
.masthead-skeleton-icon {
height : 32px;
width : 32px;
margin : 0 8px;
background-color : #e3e3e3;
}
ytd-masthead.dark .masthead-skeleton-icon {
background-color : #292929;
}
#search-container.ytd-searchbox-spt {
position : absolute;
top : 0;
right : 0;
bottom : 0;
left : 0;
}
html {
background-color : #fff !important ;
}
html[dark] {
background-color : #0f0f0f !important ;
}
#logo-red-icon-container.ytd-topbar-logo-renderer {
width : 86px;
}

↑ Top