Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cannot make border left transparent work

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #204219
    wolfgang1983
    Participant

    On my panel on my page I use bootstrap nav-tabs.

    On the very first tab only I need to have the border left not show.

    I have tried

    .nav-tabs > li.active > a:first {
    border-left-color: transparent !important;
    }

    And

    .panel-tabs-left > li.active:first-child > a {
    border-left-color: transparent !important;
    }

    No luck. Any Suggestions? Because the very first tab “Home” doubles up the left border.

    http://codepen.io/riwakawebsitedesigns/pen/bdaGro

    #204221
    wolfgang1983
    Participant

    I have figured out what to do i need to add border to panel-body to make it all even

    “`.nav-tabs > li.active:first-child > a {
    border-left: transparent !important;
    }

    .panel-body {
    padding: 15px;
    border-left: 1px solid #e2e2e2;
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    }“`

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.