linkek

Link

Ez egy tesztlink

html
<a href="#" title="Ez egy tesztlink" aria-label="Ez egy tesztlink, új ablakot nyit" target="_blank">Ez egy tesztlink<span class="fas fa-external-link-alt" aria-hidden="true"></span></a>
css
a:hover,
a:focus,
a:active {
     text-decoration: none;
}

a:focus {
     outline: 1px solid #50B5E6;
}

main a {
	color: #004b88;
	font-weight: 700;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	-webkit-transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	cursor: pointer;
}

main a:hover,
main a:focus,
main a:active {
	text-decoration: none;
	border-bottom: 1px solid #004b88;
}

Link bekezdésen belül

Nullam quis risus vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.

html
<p>Nullam quis risus <a href="eget urna mollis ornare" title="Ez egy tesztlink, új ablakot nyit" aria-label="Ez egy tesztlink, új ablakot nyit" target="_blank"> vel eu leo.</a> Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
css
a,
a:hover,
a:focus,
a:active {
	outline: none;
	outline: 0;
	outline-offset: 0;
	text-decoration: none;
}

main a {
	color: #004b88;
	font-weight: 700;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	-webkit-transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	cursor: pointer;
}

main a:hover,
main a:focus,
main a:active {
	text-decoration: none;
	border-bottom: 1px solid #004b88;
}

Link a lista elemeken belül

  • Lorem ipsum dolor sit amet
  • Consectetur adipiscing elit
  • Integer molestie lorem at massa
  • Facilisis in pretium nisl aliquet
  • Nulla volutpat aliquam velit
    • Phasellus iaculis neque
    • Purus sodales ultricies
    • Vestibulum laoreet porttitor sem
    • Ac tristique libero volutpat at
  • Faucibus porta lacus fringilla vel
  • Aenean sit amet erat nunc
  • Eget porttitor lorem
html
<ul>
    <li>Lorem ipsum dolor sit amet</li>
    <li>Consectetur adipiscing elit</li>
    <li><a href="#" title="Teszt link" aria-label="Ez egy tesztlink" target="_self">Integer molestie lorem at massa</a></li>
    <li>Facilisis in pretium nisl aliquet</li>
    <li>Nulla volutpat aliquam velit
        <ul>
            <li>Phasellus iaculis neque</li>
            <li>Purus sodales ultricies</li>
            <li>Vestibulum laoreet porttitor sem</li>
            <li>Ac tristique libero volutpat at</li>
        </ul>
    </li>
    <li><a href="#" title="Teszt link" aria-label="Ez egy tesztlink" target="_self">Faucibus porta lacus fringilla vel</a></li>
    <li>Aenean sit amet erat nunc</li>
    <li>Eget porttitor lorem</li>
</ul>
css
a,
a:hover,
a:focus,
a:active {
	outline: none;
	outline: 0;
	outline-offset: 0;
	text-decoration: none;
}

main a {
	color: #004b88;
	font-weight: 700;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	-webkit-transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	transition: color 0.5s ease-out, border-bottom 0.5s ease-out;
	cursor: pointer;
}

main a:hover,
main a:focus,
main a:active {
	text-decoration: none;
	border-bottom: 1px solid #004b88;
}