Useful Tooltips: CSS Tutorial (Day 18 of CSS3 in 30 Days)

Create CSS only tooltips on hover.

⭐️Files you need ⭐️
💻Useful Tooltips Code:
💻All tutorials in this series need this “_theme-styles” directory (only download once):

This video works as a stand-alone tutorial but is also day 13 of CSS3 in 30 Days. For the rest of the series, check out this playlist:

CSS3 in 30 Days is developed by Brad Hussey. Check out his website for more great tutorials:

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:


This Post Has 17 Comments

  1. rexma

    I don't really do a lot of CSS styling but you make it very interesting to watch. One though I had is why you don't split your screen so we can see more directly what each style is doing? If the files are small enough, the CodePen editor even does hot reloading without any page refreshes. Nonetheless great series so far

  2. Сергей

    Author, take my best wishes. For you there is a special place in the heaven.(with black Jack and wh(10*0)res)

  3. Se que no vas a entender nada, pero gracias por el tutorial si me ayudaste. C:

  4. Wian Lloyd

    If you don't want the standard title to also appear with your custom tooltip, you can move your tooltip text into a data attribute instead of using the title eg.
    title="Tooltip text!" -> data-tooltip="Tooltip text!" in your HTML and
    content: attr(title); -> content: attr(data-tooltip); in your CSS

  5. G D

    You've helped demystify the black magic that is tooltips!

  6. Annie Huang

    Very good tutorial and it renders in all browsers too, including IE. I have seen some complex one that doesn't render across all browsers. All tooltips should be written like this.

  7. Anton Rich

    I positioned right and bottom tooltips by myself but couldn't position properly the left tooltip.

  8. Business Opportunity in Ruvol

    I have invented a Board Game [still unpublished and not yet out in the market] that I believe is guaranteed to be as challenging and exciting as CHESS. I called it “RUVOL.”

    It is my hope that one day Ruvol may surpass chess as the “Number One Board Game in the World.”

    The weakness of chess is it always starts in fixed positions that the opening moves become “memorizable.” In fact, not a few have so mastered the moves that they can play against their opponents “blindfolded.” It is for this very reason that the great Bobby Fischer introduced his so-called “Fischer Random Chess,” where the starting position of the pieces is “randomized” to make the memorization of openings impracticable. Fortunately, it is also for this reason that I invented Ruvol where “every game” has been calculated to be a challenging one to play.


    I detailed everything in my YouTube video. Here is the link:


    It is worthwhile to note that the people who play chess will be the same people who will play Ruvol. In my Google search, I learned there are around 800 million chess players in the world. Even just a small percentage of these 800 million is good enough to earn big money from Ruvol either as an ONLINE GAME BUSINESS or as a PHYSICAL PRODUCT DISTRIBUTOR.

    You may contact me at:

    Thanks and God bless!


    The Ruvol Inventor

Leave a Reply