Pen Settings



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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


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


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.


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.


                <div class="card-wrapper" data-tilt data-tilt-max="20" data-tilt-speed="3000" data-tilt-perspective="300">
  <div class="item">
    <p class="name">red card of America</p>
    <p class="opportunities">travel, payment in stores, fx</p>
    <img src="" alt="" class="visa">

    <p class="id">1234 5678 1234 1234</p>
    <p class="user">name family</p>
  <p class="col">call center: 88008008080</p>

<script src="" integrity="sha512-K9tDZvc8nQXR1DMuT97sct9f40dilGp97vx7EXjswJA+/mKqJZ8vcZLifZDP+9t08osMLuiIjd4jZ0SM011Q+w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>


                * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

.card-wrapper {
  background: #dfdfdf;
  border-radius: 10px;
  box-shadow: 0 0 4px #666;
  position: relative;
  padding: 4px;

.item {
  width: 450px;
  height: 220px;
  background-image: url("data:image/svg+xml, <svg preserveAspectRatio='none' viewBox='0 0 358.59 147.01' xmlns=''><path d='m6.5764 146.88c-1.75-0.28069-3.1031-0.99194-4.3782-2.3013-1.2263-1.2592-2.1994-3.4883-2.1982-5.0353 4e-4 -0.54024 3.2056-30.882 7.1227-67.426 6.7916-63.362 7.1531-66.505 7.7919-67.766 0.84239-1.6624 2.746-3.357 4.354-3.8762 1.0951-0.35354 20.101-0.40562 167-0.45762 156.51-0.0554 165.84-0.0331 167.13 0.39895 1.8022 0.60285 3.5895 2.2127 4.482 4.037 0.58396 1.1936 0.71879 1.8307 0.71183 3.364l-8e-3 1.8916-19.806 46.964c-19.668 46.637-19.815 46.973-21.139 48.307-0.76939 0.77521-1.835 1.5303-2.5207 1.786-1.0151 0.37863-20.401 2.9672-88.5 11.817-2.1828 0.28367-16.768 2.1846-32.411 4.2242-78.065 10.179-150.2 19.573-166.69 21.707-10.114 1.3096-18.686 2.422-19.05 2.472-0.3638 0.05-1.2141 2e-3 -1.8895-0.10604z' fill='red' /></svg>");
  background-size: 100% 100%;
  position: relative;
  filter: drop-shadow(0 0 5px red);

.name {
  position: absolute;
  top: 20px;
  left: 40px;

.item .opportunities {
  position: absolute;
  top: 20px;
  right: 30px;

.item p:not(.id) {
  font-size: 0.5em;
  color: #666;
  font-weight: 800;
  transform: translateZ(10px);

.visa {
  position: absolute;
  bottom: 60px;
  right: 60px;
  width: 50px;

.id {
  position: absolute;
  top: 70px;
  left: 33px;
  font-size: 25px;
  word-spacing: 10px;
  letter-spacing: 4.5px;
  color: #ccc;

.user {
  position: absolute;
  bottom: 40px;
  left: 30px;
  text-transform: uppercase;
  word-spacing: 10px;
  letter-spacing: 2px;

.col {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.7em;