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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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 id="wrapper">  
   <div class="pointer">
    <div class="outline"></div>
    <div class="center-container">
      <input style="display: none;" type="checkbox" id="point1" class="toggle">
      <label for="point1" class="center"><img src=""><label>
      <div class="tooltip">
        <h2>Awesome Feature!</h2>
        <p>Simple css3 tooltip for things like features or whatever</p></div>


                div, span {
  display: block;
  border-radius: 80px;

body {
  background: url(;
  background-color: #444;
  font: 400 13px/1 sans-serif;

#wrapper {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 600px;
  left: 220px;

label {
  cursor: pointer;

.tooltip {
  padding: 16px;
  font-size: 13px;
  text-align: left;
  font-weight: 100;
  background: white;
  border-radius: 0;
  box-sizing: border-box;
  position: absolute;
  color: #000;
  width: 250px;
  height: 150px;
  top: -61px;
  left: 50px;
  opacity: 0;
  transform: translateX(150px) rotateY(90deg);
  transition: all .3s cubic-bezier(1,1,0.5,1);
  box-shadow: 1px 1px 10px rgba(0,0,0,0.3);

.tooltip:after {
  left: -31px;
  border: solid 16px transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-right-color: white;
  top: 45%;
  margin-top: -8px;

#point1:checked ~ label .tooltip {

  width: 250px;
  transform: translateX(0);
  opacity: 1;

.tooltip h2, .tooltip p {
  opacity: 0;
  transition: all 1s;
  transition-delay: .5s;

#point1:checked ~ label .tooltip h2,
#point1:checked ~ label .tooltip p {
  opacity: 1;

.pointer {
  width: 35px;
  height: 35px;
  position: relative;

.outline, .center-container, .center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

.outline {
  width: 63%;
  height: 63%;
  border: 1px solid #ffba00;
  -webkit-transform: scale(1);
  -webkit-animation: pointerAnimation 1s 0 linear infinite backwards;


.center-container {
  width: 80%;
  height: 80%;
  color: #fff;
  font: 900 16px/1.5 sans-serif;
  text-align: center;
  /*-webkit-animation: colorChange 1s 0 linear infinite alternate;*/

.center img {
  -webkit-transition: all 150ms cubic-bezier(1,0,0.5,1);

.center img:hover {
  transform: rotate(90deg);

@-webkit-keyframes pointerAnimation {
  from {-webkit-transform: scale(1);opacity: 0;}
  to {-webkit-transform: scale(1.5);opacity: 1;}