紀錄工作經驗、相關知識,解決技術相關問題。

CSS, HTML, 工作雜談, 網站相關

css 移除超連結顏色 藍色外框 / CSS remove hyperlink blue box

超連結在每個瀏覽器中都有預設 CSS 樣式,所以在手機移動端,點選超連結常出現藍色外框,這時你只需要在CSS 中,針對 a:focus 加上 outline:none 就可以去除

a,a:focus{
  outline:none;
}

7 留言

  1. Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.com/sk/register?ref=WTOZ531Y

  2. I am an investor of gate io, I have consulted a lot of information, I hope to upgrade my investment strategy with a new model. Your article creation ideas have given me a lot of inspiration, but I still have some doubts. I wonder if you can help me? Thanks.

  3. Your article helped me a lot, is there any more related content? Thanks! https://www.binance.com/kz/register?ref=OMM3XK51

  4. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me. https://www.binance.com/ka-GE/register?ref=WTOZ531Y

  5. I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  6. Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  7. Reading your article has greatly helped me, and I agree with you. But I still have some questions. Can you help me? I will pay attention to your answer. thank you.

發表迴響