html{
height:100%;
background: #f2f6f8;
background: -webkit-linear-gradient(-45deg, rgba(242,246,248,1), rgba(216,225,231,1) 19%, rgba(181,198,208,1) 51%, rgba(224,239,249,1));
background: -moz-linear-gradient(-45deg, rgba(242,246,248,1), rgba(216,225,231,1) 19%, rgba(181,198,208,1) 51%, rgba(224,239,249,1));
background: -ms-linear-gradient(-45deg, rgba(242,246,248,1), rgba(216,225,231,1) 19%, rgba(181,198,208,1) 51%, rgba(224,239,249,1));
background: -o-linear-gradient(-45deg, rgba(242,246,248,1), rgba(216,225,231,1) 19%, rgba(181,198,208,1) 51%, rgba(224,239,249,1));
background: linear-gradient(-45deg, rgba(242,246,248,1), rgba(216,225,231,1) 19%, rgba(181,198,208,1) 51%, rgba(224,239,249,1));
}
rgb(242,246,248); /* Old browsers */
.hero-trooper input[type=radio]:checked ~ .title .picker-on {
display: block;
}
Как мы все прекрасно знаем, HTML5 не очень совместим со старыми браузерами.
$(function(){
var header = $('header'),
main = $('main'),
address = $('address');
$(window).on('resize', function () {
if ($(this).width() > 640) {
if (!address.closest(header).length) {
address.appendTo(header);
console.log('Moving to header');
}
} else {
if (!address.closest(main).length) {
address.appendTo(main);
console.log('Moving to main');
}
}
}).resize();
});
For these purposes, the attributes must be compared as they were when the elements were created by the parser; two elements have the same attributes if all their parsed attributes can be paired such that the two attributes in each pair have identical names, namespaces, and values (the order of the attributes does not matter).
Authors are reminded that the processing for XML and HTML differs; in particular, even minor syntax errors will prevent a document labeled as XML from being rendered fully, whereas they would be ignored in the HTML syntax. ...
The DOM, the HTML syntax, and the XHTML syntax cannot all represent the same content.