We would like to know how to add border and shadow to a paragraph.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
p {<!-- w w w . j a v a2 s.c o m-->
border-left: 6px solid red;
box-shadow: 6px 0 0 #EEE;
}
</style>
</head>
<body>
<p>This is a test. This is a test. This is a test. This is a test. This is a test.
This is a test. This is a test. This is a test. This is a test. This is a test.</p>
</body>
</html>
The code above is rendered as follows: