A CodePen by Dmitry Semenov. Inline popup - Magnific Popup example that shows how to create inline popup from an element in DOM or dynamically.