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. 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

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

              
                <link href='https://fonts.googleapis.com/css?family=Roboto:700' rel='stylesheet' type='text/css'>
<div class="conteneur">
  <h1>Animated Carrousel showing informations on hover</h1>
  <div class="circle">
    <div class="point_general point1">
      <span class="texte">Ergo ergo vel videre ad eventu plebem permittunt textum</span>
    </div>
    <div class="point_general point2">
      <span class="texte">Sollemnia ita ita ita in regis imitatus</span>
    </div>
    <div class="point_general point3">
      <span class="texte">Deiectas fieri scholarum super nec iniusta</span>
    </div>
    <div class="point_general point4">
      <span class="texte">Contemnendos se contemni non extollere opere submittere</span>
    </div>
    <div class="point_general point5">
      <span class="texte">Quae quae quiete equestrium planitie vicos cohortium</span>
    </div>
    <div class="point_general point6">
      <span class="texte">Ex rebus agrestibus tranquillis et licet veteres</span>
    </div>
    <div class="point_general point7">
      <span class="texte">Seleucus plagam ab quam limes Nicator pelagi Nili regna cum</span>
    </div>
    <div class="point_general point8">
      <span class="texte">Sublimius spatiis spatiis pari palmite uberi quam ad verticibus </span>
    </div>
    </div>
</div>
              
            
!

CSS

              
                body {
  background:#34495e;
}

.conteneur {
  width:431px;
  margin:auto;
  position:relative;
}

h1 {
  font-family: 'Roboto', sans-serif;
  font-weight:400;
  font-size:24px;
  text-align:center;
  color:#16a085;
  margin:40px 0 120px 0;
}

.circle {
  background:transparent;
  margin:auto;
  width:300px;
  height:300px;
  border:8px solid #12826c;
  border-radius:50%;
  position:relative;
  -webkit-animation:animation 12s infinite linear;
  animation:animation 12s infinite linear;/*Safari and Chrome*/
}

.circle:hover {
  animation-play-state:paused;
  -webkit-animation-play-state:paused; /* Safari and Chrome */
}

.point_general {
  width:12px;
  height:12px;
  position:absolute;
  border-radius:50%;
  background:#1abc9c;
  border:6px solid #16a085;
}

.point_general:after {
  width:0px;
  height:0px;
  position:absolute;
  top:0px;
  left:0px;
  content:'';
  background:#1abc9c;
  opacity:0;
  border-radius:50%;
  -webkit-transition:all .4s ease;
  transition:all .4s ease;
}

.point_general:hover:after {
 opacity:0.8;
  width:200px;
  height:200px;
  top:-94px;
  left:-94px;
}

.texte {
  opacity:0;
  position:absolute;
  text-align:center;
  top:-50px;
  left:-50px;
  width:110px;
  height:110px;
  overflow:hidden;
  color:#ecf0f1;
  font-family: 'Roboto', sans-serif;
  z-index:10;
  -webkit-transition:opacity .2s 0s ease;
  transition:opacity .2s 0s ease;
  -webkit-animation:animation2 12s infinite linear;
  animation:animation2 12s infinite linear;/*Safari and Chrome*/
}

.point_general:hover .texte {
  opacity:1;
  -webkit-transition:opacity .4s .4s ease;
  transition:opacity .4s .4s ease;
}

.circle:hover .texte {
  animation-play-state:paused;
  -webkit-animation-play-state:paused; /* Safari and Chrome */
}

.point1 {
  top:30px;
  left:30px;
}

/*.point5:after {
  content:'Plerosque et est copia';
  text-align:center;
  padding:50px 0 0 0;
}*/

.point2 {
  top:-16px;
  left:138px;
}

.point3 {
  top:30px;
  right:30px;
}

.point4 {
  top:138px;
  right:-16px;
}

.point5 {
  bottom:30px;
  right:30px;
}

.point6 {
  bottom:-16px;
  left:138px;
}

.point7 {
  bottom:30px;
  left:30px;
}

.point8 {
  top:138px;
  left:-16px;
}

@keyframes animation
{
0% {transform:rotate(0deg);}
100% {transform:rotate(360deg);}
}

@-webkit-keyframes animation /*Safari and Chrome*/
{
0% {-webkit-transform:rotate(0deg);}
100% {-webkit-transform:rotate(360deg);}  
}

@keyframes animation2
{
0% {transform:rotate(0deg);}
100% {transform:rotate(-360deg);}
}

@-webkit-keyframes animation2 /*Safari and Chrome*/
{
0% {-webkit-transform:rotate(0deg);}
100% {-webkit-transform:rotate(-360deg);}  
}
              
            
!

JS

              
                
              
            
!
999px

Console