Can this box with extension be done in CSS?

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Can this box with extension be done in CSS?

Post by simonmlewis »

I want to have a small square (or rounded corner) button to appear on the right, with right: -200px CSS to push it off the side.
When mouse over, the box comes in, purely with CSS.

I can do this with a simple DIV, but can a DIV be made in this shape, just with CSS?

I could possibly think of a way with embedded DIVs, but wonder if it's quite easy.
Attachments
Example in image form
Example in image form
idea.jpg (6.99 KiB) Viewed 6751 times
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply