skip to Main Content

Im making a web with HTML and CSS and I have a question about this link

How can I make it? I put a ">" in a  between the  but doesn't look the same

How can I make it? I put a ">" in a p between the a but doesn’t look the same

2

Answers


  1. Use > instead of putting >
    So it will be <p>&gt;</p>

    Login or Signup to reply.
  2. You talking about breadcrumbs my friend…

    .breadcrumbs {
      list-style: none;
      padding: 0;
      margin: 14px 0;
    }
    
    .breadcrumbs li {
      display: inline;
    }
    
    .breadcrumbs li::after {
      content: ">";
      margin-left: 10px;
      margin-right: 5px;
      color: rgb(161, 0, 210);
    }
    
    .breadcrumbs li:last-child::after {
      content: none;
    }
    <ul class="breadcrumbs">
        <li><a href="/">Home</a></li>
        <li><a href="/category/">Section1</a></li>
        <li><a href="/category/subcategory/">Section2</a></li>
        <li>Curent Page</li>
      </ul>
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search