Created
February 6, 2017 05:36
-
-
Save vinaymavi/c6de3ba6d846ee8f038cc586f14d0f35 to your computer and use it in GitHub Desktop.
Convert all display type flex to block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function flexToBlock(){ | |
$('*').each(function(index,el){ | |
if($(el).css("display") === "flex"){ | |
console.log($(el).css("display")); | |
$(el).css("display","block"); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment