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 rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">


<div class="distribution-map">

  <img src="https://www.innodura.fr/wp-content/uploads/2024/05/ecran_innovia.50.png" alt="" />
  <button class="map-point" style="top:28%;left:55%">
    <div class="content">
      <div class="centered-y">
        <h2>Interface Homme-Machine</h2>
        <p> • Nouveau Skin 2024 <br><br>
        • Compatible Video over IP <br> <br>
        • Alertes Audio <br> <br>
        • Taille écran 7" - 14"</p>
      </div>
    </div>
  </button>


  <button class="map-point" style="top:35%;left:82%">
    <div class="content">
      <div class="centered-y">
        <h2>Écran de visualisation</h2>
    <div class="text_align">  
      <img src="https://www.innodura.fr/wp-content/uploads/2024/04/gps_innovia_v2.png">
      <p> Suivi GPS </p>
      </div>
        <div class="text_align">  
      <img src="https://www.innodura.fr/wp-content/uploads/2024/04/connection-1662290.png">
      <p> Maintenance à distance </p>
      </div>
              <div class="text_align">  
      <img src="https://www.innodura.fr/wp-content/uploads/2024/04/noun-web-2656995.png">
      <p>WebService Local</p>
      </div>
              <div class="text_align">  
      <img src="https://www.innodura.fr/wp-content/uploads/2024/04/wifi-6794336.png">
      <p>Can bus communication</p>
      </div>
      </div>
    </div>
  </button>
  <button class="map-point" style="top:55%;left:28%">
    <div class="content">
      <div class="centered-y">
        <h2>Contrôleur Durci</h2>
        <p class="controleur"> • Dernière génération GPU NVIDIA <br> 
       • Shock & Vibration ISO15003
        <br> 
          • Power Ignition
          <br>
          • w196 x h66 x d165mm
          </p> 
 <img src="https://www.innodura.fr/wp-content/uploads/2024/04/jetson_xavier_nvidia.png" />
      </div>
    </div>
  </button>
  
   <button class="map-point" style="top:60%;left:67%">
    <div class="content">
      <div class="centered-y">
        <h2>4x Caméra IP69K</h2>
        <p class="controleur"> • 25 x 25 mm <br> <br>
       • GMSL2 (signal + alimentation par cable coax)
        <br> <br>
          • Low-light 120 dB
          <br><br>
          • Synchro multi-caméras
          <br><br>
          • 128.7° (H), 98.7°(V), 170.1°(D)
          </p> 
      </div>
    </div>
  </button>
  

              
            
!

CSS

              
                html {
  background: #F2F2F2;
  color: #e5e5e5;
  text-align: center;
  font-family: "Lato",sans-serif;
  
}

body {
  max-width: 100%;
  height:10vh;
  margin: 10px auto;
  padding: 0 100px;
  overflow-x: hidden;
  overflow-y:hidden;
}
.vert {
  color:#a3d272;
}
.text_align {
  display: flex;
  flex-direction: row;
justify-content: space between;
}

.map-point .text_align {
  display: flex;
  align-items: center;
}

.map-point .text_align img {
  width: 18px; /* Choisissez la taille appropriée */
  height: auto; /* Pour garder les proportions de l'image */
  margin-right: 18px; /* Espacement entre l'image et le texte */
}

.map-point .text_align > div {
  display: flex;
  flex-direction: column;
}

.map-point .text_align p {
  margin: 10px; /* Supprime les marges par défaut du paragraphe */
}



.description {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(229, 229, 229, 0.7);
  text-align : center;
}

div, img, footer {
  position: relative;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom:12pt;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
 
}

h1 {
  font-size: 30pt;
  color: #006783;
  text-transform: uppercase;
  
}

h2 {
  font-size: 18pt;
   color: #006783;
}

h3 {
  font-size: 18pt;
}

h4 {
  font-size: 16pt;
}

h5 {
  font-size: 14pt;
}

h6 {
  font-size: 12pt;
}

p {
  font-size: 11pt;
  margin-bottom: 12pt;
  text-align: left;
  color: #1e1e24;
}


strong {
  font-weight: 900;
  font-family: "Lato", sans-serif;
  color: #e5e5e5;
}

a {
  transition: color 0.25s ease-in-out;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #dff3fd;
}
a:visited {
  color: #dff3fd;
}
li.active a, a:hover, a:active {
  color: #e5e5e5;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered-y {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.distribution-map {
  position: relative;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}
.distribution-map > img {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}
.distribution-map .map-point {
  cursor: pointer;
  outline: none;
  z-index: 0;
  position: absolute;
  width: 25px;
  height: 25px;
  border:1px;
  border-radius: 20px;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 4;
  transform: translate(-50%, -50%);
  -moz-transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  -o-transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  -webkit-transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out, z-index 0.25s ease-in-out;
  -webkit-transition-delay: 0.25s, 0.25s, 0.25s, 0.25s;
  transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
  background: #fbfbff;
  border: 3.5px solid #a3d272;
}
.distribution-map .map-point .content {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  width: 90%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  overflow: overlay;
}
.distribution-map .map-point:active, .distribution-map .map-point:focus {
  margin: 0;
  padding: 0;
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  width: 320px;
  height: 230px;
  color: #e5e5e5;
  z-index: 1;
  transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out;
}
.distribution-map .map-point:active .content, .distribution-map .map-point:focus .content {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1;
  -moz-transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -webkit-transition: opacity 0.25s ease-in-out, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  -webkit-transition-delay: 0.25s, 0s, 0s;
  transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
  overflow: hidden;
}
.distribution-map .map-point:active .content a:hover, .distribution-map .map-point:active .content a:active, .distribution-map .map-point:focus .content a:hover, .distribution-map .map-point:focus .content a:active {
  color: #006783;
}

              
            
!

JS

              
                
              
            
!
999px

Console