I find the reminder box in jsfiddle is attractive. It is a box contain some message and URL , there is a close button on top right corner. When you click it it close with some animation.
So I would like to know how to use css & jquery to create a simple box like that? Thanks for helping me.


I made you a demo with jsfiddle!
The javascript is a jQuery function called slideUp() that shrinks the box by lowering it’s height.
The CSS to create the box and the button are straight forward. The box is a standard box. The close button is the letter X, embiggened and moved to the top right corner of the box.
In the comments of the CSS, I go into more detail about what each section does.