Bonjour, je travaille sur un menu basé sur les transitions.
Mon menu réagit exactement comme je le voulait, SAUF pour la transition principale qui réagit bizarrement.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Document sans nom</title>
</head>
<style type="text/css">
.TitreMenu {
	background-color: #999;
	height: 20px;
	width: 100px;
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	font-style: italic;
	text-align: center;
	padding-top: 5px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	display:block;
	overflow:hidden;
	transition:height 0.6s ease-in-out;
	-moz-transition:height 0.6s ease-in-out;
	-webkit-transition:height 0.6s ease-in-out;
	-o-transition:height 0.3s ease-in-out;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
	vertical-align: middle;
	}
 
 
	.TitreMenu:hover{
	height:auto;	
		}
 
	.SousMenu {
	transition:background 0.9s ease-in-out;
	-moz-transition:background 0.9s ease-in-out;
	-webkit-transition:background 0.9s ease-in-out;
	-o-transition:background 0.9s ease-in-out;
	height: 20px;
	width: auto;
	background-color: #0099FF;
	opacity: 0.8;
	}
 
.SousMenu:hover {
	background:#ECECEC;
}
</style>
<body>
<div class="TitreMenu" >
Titre Menu
<div class="SousMenu">
Présentation
</div>
<div class="SousMenu">
Notre équipe
</div>
<div class="SousMenu">
Autre...
</div>
</div>
</body>
</html>
Si quelqu'un a une idée pour faire une transition propre tout en gardant le Height:auto; de Titremenu:hover, ce serait du bonheur

Merci d'avance pour votre aide.