NextIndexPrevious

CSS3 Examples

6. CSS3 skew() example.

<!DOCTYPE html>
<html>
<head>
<title>Untitled Document</title>
<style>
#box{
	width:200px;
	height:100px;
	font-size:26px;
	background-color:#0CF;
	border-radius:5px;
	box-shadow:10px 10px 2px #999999;
	text-align:center;
	padding-top:20px;
	text-shadow:5px 5px 2px #666666;
	transform:skew(130deg,10deg);
	-webkit-transform:skew(130deg,10deg);
	-ms-transform:skew(130deg,10deg);
	position:relative;
	top:50px;
	left:200px
}
</style>
</head>

<body>
<div id="box">
Welcome to CSS3
</div>
</body>
</html>

Output :

Welcome to CSS3




Developed by


World Wide Web Consortium

World Wide Web Consortium