diff --git a/05-lection3/01-tooltip/index.html b/05-lection3/01-tooltip/index.html index ed478b9..e55902b 100644 --- a/05-lection3/01-tooltip/index.html +++ b/05-lection3/01-tooltip/index.html @@ -8,31 +8,28 @@ Tooltip - +
-
-
- - - - - -
- -
- Helper text -
+
+ + + + + +
+ +
+ Helper text
-
diff --git a/05-lection3/01-tooltip/tooltip.css b/05-lection3/01-tooltip/tooltip.css index 32bb98e..15c7b22 100644 --- a/05-lection3/01-tooltip/tooltip.css +++ b/05-lection3/01-tooltip/tooltip.css @@ -1,15 +1,6 @@ .tooltip{ - display: flex; - justify-content: center; - align-items: center; - height: 100vh; -} - -.tooltip__wrapper { + display: inline-block; position: relative; - display: inline-flex; - align-items: center; - flex-direction: column; } .tooltip__trigger { @@ -53,5 +44,4 @@ .tooltip__trigger:hover ~ .tooltip__bubble { display: block; - opacity: 1; } \ No newline at end of file