JSFiddle - React, Tailwind, and code Playground

by huang wenxiong

HTML

<div> 
    		<p>前端</p>
    		<p>开发</p>
    		<p>工程</p>
    		<p>软件</p>
    		<p>工程</p>
    	</div>

CSS

div p:nth-last-child(2){
    			color:red;
    		}