Forked from: blades's DATA URI Playground View Diff (608)

Fork
9
Fav
34
View
40598
  • Play

Fullscreen

Smart Phone

Fork tree

  • Readme
  • JavaScript 283 lines
  • HTML 22 lines
  • CSS 750 lines

As you may know already, very long lines (e.g. DATA URI) in jsdo.it editor somehow prevent it from highlighting codes. To solve this problem, i've added a new feature of inserting an (escaped) newline after every arbitrary number(50, by default) of characters to generated/pasted DATA URIs.

(Note that you have to use quotaion marks for css background-image on webkit browsers.)

jsdo.itのエディタはDATA URIのように長い文字列を1行に入れてしまうとコードハイライトが利かなくなるようなので、 生成(orコピペ)したDATA URIを任意文字数ごとに改行する機能を追加しました。 (※webkitでCSS背景画像を指定する際は改行したDATA-URIを引用符で囲まないとだめみたいです。) (js,cssでは改行したDATA URI使えるがhtmlではだめ??)

  • DATA URI Playground2 (jsdo.itエディタ対応DATA-URI生成)
  • DATA URI Playground2 (jsdo.itエディタ対応DATA-URI生成)

play

Complete!

Description What kind of game?

Control Device

jsdo.it websocket controller

Mouse

keyboard

smartphone

Fullscreen

Default Panel

Size

  • Width: px
  • Height: px

code

QR Code

Discussion

Questions on this code?

Tags

Favorite by

tokkonopapatokkonopapa:

Cool !!

NickCNickC:

DATA URL background

paqpaq:

UIがステキ

Forked

sort by