<!DOCTYPE html>
<html>
<head>
<style>
.div-p div:nth-child(1) p{color:blue;}
.div-p div:nth-child(2) p{color:green;}
.div-p div:nth-child(3) p{color:red;}
</style>
</head>
<body>
<div class="div-p">
<div>
<p>div p style 1</p>
</div>
<div>
<p>div p style 2</p>
</div>
<div>
<p>div p style 3</p>
</div>
</div>
</body>
</html>