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


Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Menu tout CSS sans JS</title>
<meta name="robots" content="all">
<meta name="rating" content="general">
<meta name="revisit-after" content="30 days">
<div class="ToutMenu"><p> </p>
   <input type="checkbox" id="LaCheckBox" class="LaCheckBox" />
   <label for="LaCheckBox" class="LeLabel"><img  src="" alt="Menu" />
   <div class="menu">
    <a href="#">Nous rejoindre</a>
    <a href="#">Recherche</a>
    <a href="#">Le Blog</a>
    <a href="#">Notre Métier</a>
    <a href="#">Photos</a>
    <a href="#">Coups de Coeur</a>
    <a href="#">Evènements</a>
  <div class="Le-texte"><br /><br />
  Si vous voyez le bouton rouge d'appel de menu, cliquez le pour voir son aspect sur smartphone ou autres petits écrans.<br>
  Si vous voyez le menu réduisez sa largeur pour voir l'aspect petit écran


                body { 	background-color:#577bac;font-family:"Times New Roman", Times, serif;color:#feffff; font-size:22px;margin:0;border:0;}
.LaCheckBox { display: none; }
.menu {  display: block;flex-wrap: wrap;margin: 0;padding: 0; 
.menu > a {  padding:5px 15px;margin:0 5px;text-decoration:none;color:#fff;border:solid 1px #ffffff; border-radius:30px;text-align:center;}
.menu > a:hover { border: solid 1px #ffaaaa;color: #ffaaaa;cursor:pointer;}
div.Le-texte {
  justify-content: center;
/* ==================================== */
@media (max-width:750px) {
.menu {display: none;flex-basis: 100%;}
.LaCheckBox { display: block;width:30px;z-index:60; }
.menu a {color:#feffff;}
.LaCheckBox:checked ~ .menu {  display: block;flex-wrap: wrap;flex-direction:column; }
.LaCheckBox {opacity: 0;	position: absolute;	top: -5000px;}
.LaCheckBox:focus + .LeLabel { outline: #ffffff auto 5px;}
.LeLabel {justify-content: space-between;margin-left: auto;}