w3resource

User Interface - Cursor: w-resize

Cursor: w-resize

If the value of the cursor property is set to w-resize, the cursor will look like an arrow having heads on both of the sides, pointing towards west.

Here is the css file (say cwr.css):

.c1 {cursor: w-resize;}

Here is the html file (say css-cursors-w-resize.htm):

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>example of external CSS</title>
<link href="cwr.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p><a href="test.htm" class="c1">Click here to go learn more about CSS.</a></p>
<p>&nbsp;</p>
</body>
</html>

Here is how it will look:

Previous: User Interface - Cursor: s-resize
Next: User Interface - Cursor: text



Follow us on Facebook and Twitter for latest update.