JSFiddle - React, Tailwind, and code Playground
by Vipin Sharma
HTML
<html>
<head>
<title> Attribute selectors </title>
</head>
<body>
<img src="some url" alt="SomeOtherPic">
<img src="some url" alt="myPic">
</body>
</html>
CSS
img[alt="myPic"]
{
width:200px;
height:200px;
}