CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
why doesn’t work?
Close your code with this }); rather than } and select jQuery from the JS option menu.
For this bit of JS code you really don’t need jQuery or the document ready declaration.
Then how to make ? That when everything okey I mean ready then giving the height to the block?
Sorry, just meant your code snippet would work within CodePen without jQuery or document ready. If you’re going to be using other jQuery code on your page then uses that.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed