Problème d'opacité (CSS/HTML)
Résolu
Thomas38340
Messages postés
166
Date d'inscription
Statut
Membre
Dernière intervention
-
dariumis Messages postés 571 Date d'inscription Statut Membre Dernière intervention -
dariumis Messages postés 571 Date d'inscription Statut Membre Dernière intervention -
Bonjour, j'ai un problème assez contraignant sur mon site car je n'arrive pas à avoir le rendu que je veux. En effet, je voudrai avoir un "milieu" d'opacité faible (qu'on puisse voir le background) mais lorsque j'ecris du texte dans cette zone, le texte est lui aussi transparent. Je ne sais pas comment le mettre à 100% d'opacité.
Voici mes codes :
#milieu {
border-bottom:solid gray;
border-left:solid gray;
border-right:solid gray;
border-bottom-left-radius:20px;
border-bottom-right-radius:20px;
box-shadow: 6px 6px 6px black;
background:white;
margin:auto;
width:1000px;
padding-bottom:75px;
height:auto;
text-align:center;
font-family:Verdana;
text-shadow: 2px 2px 5px black;
padding-top:60px;
opacity:0.25; /* Le background blanc est assez transparent mais le texte le reste aussi*/
}
<div id="milieu>
Mon texte blablabla...
</div>
Merci d'avance
Voici mes codes :
#milieu {
border-bottom:solid gray;
border-left:solid gray;
border-right:solid gray;
border-bottom-left-radius:20px;
border-bottom-right-radius:20px;
box-shadow: 6px 6px 6px black;
background:white;
margin:auto;
width:1000px;
padding-bottom:75px;
height:auto;
text-align:center;
font-family:Verdana;
text-shadow: 2px 2px 5px black;
padding-top:60px;
opacity:0.25; /* Le background blanc est assez transparent mais le texte le reste aussi*/
}
<div id="milieu>
Mon texte blablabla...
</div>
Merci d'avance
A voir également:
- Problème d'opacité (CSS/HTML)
- Editeur html - Télécharger - HTML
- Espace en html ✓ - Forum HTML
- Espace html ✓ - Forum Webmastering
- Html download - Télécharger - HTML
- /Var/www/html/index.html ✓ - Forum Linux / Unix