কম্পিউটার টিউটোরিয়াল

CSS :active সিলেক্টরের ভূমিকা


এক্টিভ লিংক স্টাইল করতে CSS :active সিলেক্টর ব্যবহার করুন। নিচের কোড রান করে :active সিলেক্টর ইমপ্লিমেন্ট করুন।

উদাহরণ

<!DOCTYPE html> <html>   <head>     <style>       a:active {         background-color: orange;       }     </style>   </head>   <body>     <a href = "https://qries.com">Welcome to Qries</a>     <p>Click on the above link to see the effect.</p>   </body> </html>

  1. CSS :hover সিলেক্টরের ভূমিকা

  2. CSS :focus সিলেক্টরের ভূমিকা

  3. CSS :nth-last-of-type(n) সিলেক্টরের ভূমিকা

  4. CSS :nth-last-child(n) সিলেক্টরের ভূমিকা