Rotate the <div> element 150deg around its X-axis. - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Rotate the <div> element 150deg around its X-axis.

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
div {<!-- www .j av a  2 s.  c o  m-->
    width: 100px;
    height: 100px;
    background-color: pink;
    border: 1px solid black;
    transform: rotateX(150deg);
}

</style>
</head>
<body>

<div>This is a div element</div>

</body>
</html>

Related Tutorials