How do I take code from Codepen, and use it locally?

后端 未结 5 1259
醉梦人生
醉梦人生 2021-02-01 21:03

How do I take the code from codepen, and use it locally in my text-editor?

http://codepen.io/mfields/pen/BhILt

I am trying to have a play with this creation loca

5条回答
  •  旧时难觅i
    2021-02-01 21:30

    To download the computed html of a codepen, go to the codepen of your choice, then click the "Change View" button and go to the "full page" mode.

    Now depends on your browser.

    Firefox

    display the source code (Cmd+u) and go at the very bottom. Look for the last iframe and click on the value of the src attribute. There you go.

    Chrome

    Right click in the page (not the codepen header) and choose the View FRAME source (not the view PAGE source) option. There you go.

提交回复
热议问题