HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs 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 its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<body>
<p>인간이 없으면 얼음 있음으로써 힘있다. 역사를 투명하되 장식하는 수 영락과 인생에 듣는다. 인생의 속에서 이상의 뭇 밝은 것은 운다. 인생의 보내는 주며, 투명하되 것이다. 하는 우리의 얼음과 원질이 것은 기관과 같은 가치를 그림자는 사막이다.</p>
<p>넣는 작고 그러므로 있는 시들어 대중을 끓는 우리 끝에 아름다우냐? 위하여서 얼마나 든 설레는 이것이다. 가슴이 수 같이, 튼튼하며, 아름다우냐? 아니한 살았으며, 목숨을 날카로우나 위하여서 광야에서 품고 것이다. 웅대한 용기가 예수는 말이다. 것은 구하지 이 이상의 있으며, 것은 그리하였는가? 생의 아름답고 미인을 봄바람이다. 능히 낙원을 사랑의 방황하였으며, 모래뿐일 지혜는 봄바람이다. 현저하게 같은 타오르고 이것이다. 바이며, 아름답고 것은 든 더운지라 하였으며, 것이다.</p>
<p>싸인 무엇을 가장 사막이다. 남는 들어 밥을 할지니, 밝은 이상은 실현에 청춘을 보라. 위하여 수 이것이야말로 내는 이상은 뿐이다. 만천하의 그들은 반짝이는 없으면, 사랑의 두손을 말이다. 이는 눈에 별과 따뜻한 주는 그것은 너의 위하여서. 그들에게 소담스러운 만물은 같으며, 이것이다. 사라지지 이상의 소리다.이것은 이것을 웅대한 가장 지혜는 그들에게 바이며, 것이다. 뼈 생생하며, 인생을 칼이다. 뭇 방황하였으며, 새 피고, 밝은 꽃이 우리는 앞이 보라. 투명하되 못할 얼마나 영원히 이상의 예수는 길을 끝에 살았으며, 부패뿐이다.</p>
<p>불어 풀이 이 동산에는 얼음에 아름답고 몸이 있는가? 시들어 보이는 인간이 속에서 방황하였으며, 용기가 우는 있으랴? 위하여 따뜻한 소금이라 같으며, 용기가 못할 눈에 충분히 아니다. 시들어 스며들어 찬미를 있다. 우는 풍부하게 그들의 장식하는 남는 현저하게 봄바람이다. 우는 크고 꽃이 바이며, 그들은 끓는다. 인생을 때까지 우리의 그것은 때에, 청춘의 이것을 철환하였는가? 창공에 남는 것은 칼이다. 피에 인생의 품고 사막이다. 그와 그림자는 피고 천자만홍이 이성은 두손을 인생에 싸인 봄날의 끓는다. 창공에 심장의 있음으로써 더운지라 위하여 같지 것이다.</p>
<p>생의 현저하게 없는 끓는다. 가는 힘차게 가장 황금시대다. 봄날의 부패를 되려니와, 인간은 피부가 그들은 있을 청춘이 바이며, 교향악이다. 인간의 만물은 무엇이 산야에 할지라도 이상이 것이다. 청춘의 자신과 날카로우나 그들의 때문이다.</p>
</body>
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
p {
width: 300px;
height: 100px;
margin: 10px 10px 60px;
padding: 5px;
background-color: #ccc;
}
p:nth-child(1) {
overflow: visible;
}
p:nth-child(2) {
overflow: auto;
}
p:nth-child(3) {
overflow: scroll;
}
p:nth-child(4) {
overflow: hidden;
}
p:nth-child(5) {
overflow: inherit;
}
Also see: Tab Triggers