appearance Property In CSS3

It is used to make an element look like a User Interface Element.It has the Following values:

Normal,Window,icon,button,menu,field

Ex:

<html>
<head>
<style type="text/css"> 
div
{
appearance:button;
-webkit-appearance:button; /* For Safari and Chrome */
-moz-appearance:button; /* For Firefox */
}
</style>
</head>
<body>
<div>C-SharpCorner</div>

</body>
</html>


Note: It shows the div like a Button

1234555.png

Ebook Download
View all
Learn
View all