Problème d'opacité (CSS/HTML)
Résolu
Thomas38340
Messages postés
200
Statut
Membre
-
dariumis Messages postés 583 Statut Membre -
dariumis Messages postés 583 Statut Membre -
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
- Css download - Télécharger - HTML
- Comment mettre un texte sous une image html - Forum CSS
- Comment mettre une image a coté d'un texte css - Forum HTML
- Enlever soulignement lien css - Astuces et Solutions