Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!DOCTYPE html> <title>Example</title> <style> img:nth-of-type(3n+1) { border: 1em solid tomato; } img:nth-of-type(3n+2) { border: 1em solid limegreen; } img:nth-of-type(3n+3) { border: 1em solid skyblue; } </style> <p>Three images:</p> <img src="/pix/samples/8s.jpg" alt="Sample image"> <img src="/pix/samples/9s.jpg" alt="Sample image"> <img src="/pix/samples/10s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/11s.jpg" alt="Sample image"> <img src="/pix/samples/8s.jpg" alt="Sample image"> <img src="/pix/samples/9s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/10s.jpg" alt="Sample image"> <img src="/pix/samples/11s.jpg" alt="Sample image"> <img src="/pix/samples/8s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/9s.jpg" alt="Sample image"> <img src="/pix/samples/10s.jpg" alt="Sample image"> <img src="/pix/samples/11s.jpg" alt="Sample image">
Preview