Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                table#alert-container
	tbody
		tr
			td
				#marquee-wrapper
					#donation-container
						.donations
							span.name 하루
							| : 
							span.amount 5,000
							| 원
						.donations
							span.name 최고다하루쨩
							| : 
							span.amount 1,000
							| 원
						.donations
							span.name 지옥경쟁전
							| : 
							span.amount 1,000
							| 원
						.donations
							span.name 선물받으세요
							| : 
							span.amount 2,000
							| 원
              
            
!

CSS

              
                /* Main Code by HaruChanHeart
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css)

#marquee-wrapper
	box-sizing: border-box
	width: calc(100vw - 2em) !important
	border: 0.18em solid #fff
	border-radius: 0.3em
	box-shadow: 0 0.3em 0.5em rgba(0, 0, 0, 0.75)
	background-color: rgba(0, 0, 0, 0.75)
	padding: 0.3em
	margin: 1em

.donations
	font: 600 36px 'NanumSquare' !important

#donation-container
	text-shadow: 0 0 0.25em currentcolor

span
	&.name, &.amount
		text-shadow: 0 0 0.25em currentcolor

/* Twip Original CSS Code
body, html
	width: 100%
	height: 100%
	margin: 0
	background-color: #f0f8ff

table
	border-spacing: 0
	border-collapse: collapse

td
	padding: 0

#alert-container
	height: 100%
	width: 100%
	overflow: hidden
	border: none
	display: table

#marquee-wrapper
	overflow: hidden
	width: 1920px

#donation-container
	animation: 44.9429s linear 0s infinite normal none running marquee
	padding-left: 100%
	float: none
	white-space: nowrap
	display: inline-block
	color: #ffffff
	text-align: center

span
	&.name
		color: #ffffff
	&.amount
		color: #f5d317

.donations
	display: inline-block
	font: 800 36px 'Malgun Gothic'
	margin: 0 20px

@keyframes marquee
	0%
		transform: translate(0, 0)

	100%
		transform: translate(-100%, 0)


@-webkit-keyframes marquee
	from
		-webkit-transform: translate(0, 0)

	to
		-webkit-transform: translate(-100%, 0)
              
            
!

JS

              
                
              
            
!
999px

Console