HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
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.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
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.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
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.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<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">
<h1>Pluricompétences</h1>
<p class="description"> <strong>Cliquez sur les <span class="vert">points </span> pour les développer.</strong></p>
<div class="distribution-map">
<img src="https://www.innodura.fr/wp-content/uploads/2023/04/scene_complete_competences.4.png" alt="" />
<button class="map-point" style="top:45%;left:49%">
<div class="content">
<div class="centered-y">
<h2>Traitement du signal</h2>
<p>INNODURA est experte pour concevoir des systèmes de traitement du signal utilisant des algorithmes sophistiqués pour extraire des informations précises à partir de signaux électriques, acoustiques ou optiques. Nous sommes spécialisés dans l'analyse de données, la détection de défauts, la réduction de bruit et la compression de données pour les applications de mesure, de contrôle et de communication. Nous aidons nos clients à améliorer la performance et la fiabilité de leurs systèmes embarqués grâce à notre expertise en traitement du signal. </p>
</div>
</div>
</button>
<button class="map-point" style="top:62%;left:9%">
<div class="content">
<div class="centered-y">
<h2>Conception logiciel</h2>
<p> INNODURA est spécialisée dans la conception de logiciels pour les systèmes embarqués. Nous sommes des experts dans l'utilisation de langages de programmation et d'outils spécialisés pour développer des systèmes performants, fiables et sécurisés.
</p>
</div>
</div>
</button>
<button class="map-point" style="top:50%;left:76%">
<div class="content">
<div class="centered-y">
<h2>Intelligence artificielle</h2>
<p> INNODURA est experte dans le développement d'algorithmes d'intelligence artificielle. Nous permettons à nos clients de traiter des données complexes, de prendre des décisions en temps réel, d'apprendre et de s'adapter à leur environnement. Nous sommes particulièrement compétents pour les applications de surveillance, de contrôle et d'optimisation de processus.</p>
</div>
</div>
</button>
<button class="map-point" style="top:75%;left:40%">
<div class="content">
<div class="centered-y">
<h2>Perception 3D</h2>
<p>INNODURA est spécialisé dans la conception de systèmes de perception et de traitement d'images en 3D. Nous utilisons des capteurs spécifiques et des algorithmes sophistiqués pour extraire des informations précises sur l'environnement. Nous sommes particulièrement compétents pour les systèmes de navigation et de guidage de robots.</p>
</div>
</div>
</button>
<button class="map-point" style="top:76%;left:16%">
<div class="content">
<div class="centered-y">
<h2>Mécatronique</h2>
<p>INNODURA est experte dans la conception de systèmes complexes, tels que des bancs d'essais ou des machines de production, en utilisant des technologies avancées de commande et de contrôle. Nous sommes spécialisés dans la mécanique, l'électronique et l'informatique, ce qui nous permet de concevoir des solutions sur mesure pour nos clients.</p>
</div>
</div>
</button>
</div>
html {
background: #1a1a1a;
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;
}
.description {
max-width: 800px;
margin: 0 auto;
color: rgba(229, 229, 229, 0.7);
}
div, img, footer {
position: relative;
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
margin-bottom:12pt;
text-transform: uppercase;
font-family: "Oswald", sans-serif;
font-weight: 700;
}
h1 {
font-size: 30pt;
color: #006783;
}
h2 {
font-size: 18pt;
color: #1e1e24;
}
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: center;
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: 420px;
height: 240px;
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;
}
Also see: Tab Triggers