javascript:support:detect_support_for_background-size:cover
JavaScript - Support - Detect support for background-size:cover
var cover = (function(){ var supported = ('backgroundSize' in document.documentElement.style); if(supported){ var temp = document.createElement('div'); temp.style.backgroundSize = 'cover'; supported = temp.style.backgroundSize == 'cover'; }; return supported; })();
javascript/support/detect_support_for_background-size/cover.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1