Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ 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

Auto Save

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

              
                <link href="https://fonts.googleapis.com/css?family=DM+Sans&display=swap" rel="stylesheet">


<script src="http://www.adeliacatering.co.id/js/dw_tooltip_c.js" type="text/javascript"></script>
<script type="text/javascript">
dw_Tooltip.defaultProps = {
    //activateOnClick: true,
    //supportTouch: true // false by default
}

// Problems, errors? See http://www.dyn-web.com/tutorials/obj_lit.php#syntax

dw_Tooltip.content_vars = {
    L1: '<img src="https://i.guim.co.uk/img/media/9ebfe6eb392f208e944a21d1903b698965d35527/0_0_7360_4417/master/7360.jpg?width=300&quality=85&auto=format&fit=max&s=a781540ade30d65396ab403fd018f670" width="300"/>',
    L2: '<img src="https://img-new.cgtrader.com/items/697511/1a159f6e6e/modern-cube-frame-decoration-3d-model-obj-3ds-fbx-dae-mtl.jpg" width="300"/>',
    L3: '<img src="https://images.unsplash.com/photo-1652448312878-bef161c33f67?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=987&q=80" width="70%"/>',
    L4: '<h3> Texts Texts</h3>'
}

</script>
</head>

<div id="wrapper">
<span><a href="#" class="showTip L1 bubble">Becoming Water</a></span>
<span><a href="#" class="showTip L2 bubble">A Few Simple Cuts Will Let You Build A Container
</a></span>
<span><a href="#" class="showTip L3 bubble">Summer 22</a></span>
  <span><a href="#" class="showTip L3 bubble">Free</a></span> 
  <span><a href="#" class="showTip L3 bubble">Open To Public</a></span>
   <span><a href="#" class="showTip L4 bubble">Otis</a></span>
  <span><a href="#" class="showTip L3 bubble">HTML</a></span>
  <span><a href="#" class="showTip L3 bubble">CSS</a></span>
  
  </div>
              
            
!

CSS

              
                body{
  font-size:3.6em;
font-family: arial, sans-serif;
  line-height:1.78em;
  margin:0px;
  background-color:pink;
  text-align:justify;
 }


#tipDiv {
    font-size:1em; 
  line-height:1.3em;
    color:#000; 
  background-color:white; 
    border:1px solid #667295; padding:4px; 
    width:300px;
  
}

a{
  text-decoration:none;
  color:black;
  }



.bubble{
  border:3px solid black;
  border-radius:60px;
  padding:5px;
  
}


#wrapper{
  
  width:85%;
  margin:140px auto;
  border:3px solid black;
  padding:5px;
}


h3{
  
  font-weight:500;
}


              
            
!

JS

              
                
              
            
!
999px

Console