CSS TooltipsCSS Tooltips are a great way to display extra information about something when the user moves the mouse cursor over an element. Basic Tooltip ExampleLet's create basic tooltip that appears when the cursor of the mouse moves over an element. See this example: Test it NowBy using tooltips, you can display the position of the tooltip information in four ways:
Top TooltipThe top tooltip specifies that if you move your mouse cursor over the element, the tooltip information will be displayed on the top of the element. See this example: Test it NowBottom TooltipThe bottom tooltip specifies that if you move your mouse cursor over the element, the tooltip information will be displayed on the bottom of the element. See this example: Test it NowLeft TooltipThe left tooltip specifies that if you move your mouse cursor over the element, the tooltip information will be displayed on the left side of the element. See this example: Test it NowRight TooltipThe right tooltip specifies that if you move your mouse cursor over the element, the tooltip information will be displayed on the right side of the element. See this example: Test it Now
Next TopicCSS Tooltip Animation
|