Thor-81: Problem mit bootstrap und Pseudoklasse

Ich versuche die Pseudoklasse als Rollover usw. anzuwenden. Der CSS-Abschnitt wird unvollständig umgesetzt. Breiten lassen sich nicht anwenden bzw. bleiben unbeachtet. Als class sieht sieht die Umsetzung ganz anders aus. Wie kann ich das Problem umgehen? Oder gibt es irgend einen Konflikt mit Bootstrap? (sorry, es ist nur ein privates Projekt und ich Code sehr selten und wenn, dann etwas ungewöhnlich. Ich hoffe, man kann den Code trotzdem lesen.)

html

<div class="row">
    <div class="col-md-6 col-sm-6 col-xs-6">
      <div class="container-fluid">
        <b href="index.html">
          Home
          </b>  
      </div>
    </div>
        <div class="col-md-6 col-sm-6 col-xs-6">
        <div class="container-fluid">
          <c href="weissnochnicht.html"> 
          ...mehr
          </c>
        </div>
        </div>
</div>

CSS

b {	text-align: center;
	color: #E92771;
	border-radius: 5px;
	border: medium solid #E92771;
	padding-top: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	margin-bottom: 10px;
	margin-top: 10px;
	margin-left: 150px;
	min-height: 50px;
	min-width: 100px;
	text-transform: uppercase;
}
b:visited { background: lavender }
b:hover { background: pink }
b:focus { background: aquamarine; color: black }
b:active { background: oldlace }
b:visited:hover{background:gray;color:white }
  1. Hallo,

    macht man jetzt Linklisten mit

    <a href=...>
    <b href=...>
    <c href=...>
    

    :)

    Gruß
    Jürgen

    1. @@JürgenB

      Hallo,

      macht man jetzt Linklisten mit

      <a href=...>
      <b href=...>
      <c href=...>
      

      Aber hallo!

      “Linking: In HTML 3.2, only a elements could be the source and target of hyperlinks. In HTML 4 and XHTML 1, any element could be the target of a hyperlink, but still only a elements could be the source. In XHTML 2 any element can now also be the source of a hyperlink, since @href and its associated attributes may now appear on any element. So for instance, instead of <li><a href="home.html">Home</a></li>, you can now write <li href="home.html">Home</li>. Even though this means that the a element is now strictly-speaking unnecessary, it has been retained.” [XHTML2]

      Es lebe XHTML 2!

      LLAP 🖖

      --
      „Wir haben deinen numidischen Schreiber aufgegriffen, o Syndicus.“
      „Hat auf dem Forum herumgelungert …“
      (Wachen in Asterix 36: Der Papyrus des Cäsar)