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

CSS দিয়ে হাইপারলিংকে ভিন্ন স্টাইল যোগ করুন


হাইপারলিংকে ফন্ট-সাইজ, ব্যাকগ্রাউন্ড কালার ইত্যাদি ভিন্ন স্টাইল সেট করতে নিচের কোড রান করুন:

উদাহরণ

<!DOCTYPE html> <html>   <head>     <style>       a.first:link {color:#ff0000;}       a.first:visited {color:#0000ff;}       a.first:hover {color:#ffcc00;}       a.second:link {color:#ff0000;}       a.second:visited {color:#0000ff;}       a.second:hover {font-size:150%;}       a.third:link {color:#ff0000;}       a.third:visited {color:#0000ff;}       a.third:hover {background:#66ff66;}     </style>   </head>   <body>     <p>Mouse over the below given links:</p>     <p><b><a class = "first" href = "demo1.html" target = "_blank">Link changes color</a></b></p>     <p><b><a class = "second" href = "demo2.html" target = "_blank">Link changes font-size</a></b></p>     <p><b><a class = "third" href = "demo3.html" target = "_blank">Link changes background-color</a></b></p>   </body> </html>

  1. CSS-এ Fixed Positioning

  2. RGBA ব্যবহার করে CSS ট্রান্সপারেন্সি

  3. CSS :placeholder-shown ব্যবহার করে খালি টেক্সট ইনপুটের স্টাইল কাস্টমাইজ করা

  4. CSS-এ Data-Attributes (data-*) ব্যবহার করা