Grow your CSS skills. Land your dream job.

fitvids.js generates div element within – why?

  • # March 22, 2013 at 1:11 pm

    Fitvids.js works great, but I have a question about its workings. The JS generates styles that are then injected into the page markup, which is totally fair enough, but these are wrapped in a div (with the class .fit-vids-style), which is then placed within the `` – before either the first `` or `

    # March 22, 2013 at 5:38 pm

    Fixed up your post for you. If you want to include inline HTML, just add backticks ` around the code. If you want to add blocks of code, indent by four spaces or select your code and click the code button. [More info on Markdown](http://daringfireball.net/projects/markdown/syntax “More info”).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".