Get bootstrap css file












-1















I'm using Bootstrap 3 in my different projects and I would like to get cards from Bootstrap 4 to my projects. But I don't find where I can pull cards in css format instead of scss format.



It's not a good idea to convert from scss to css to my mind.



Thank you by advance and Happy New Year everybody !



EDIT :



I found something in https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css



It seems to be cards in css format isn't it ? I just have to copy/paste to my file and it will be ok ?










share|improve this question





























    -1















    I'm using Bootstrap 3 in my different projects and I would like to get cards from Bootstrap 4 to my projects. But I don't find where I can pull cards in css format instead of scss format.



    It's not a good idea to convert from scss to css to my mind.



    Thank you by advance and Happy New Year everybody !



    EDIT :



    I found something in https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css



    It seems to be cards in css format isn't it ? I just have to copy/paste to my file and it will be ok ?










    share|improve this question



























      -1












      -1








      -1








      I'm using Bootstrap 3 in my different projects and I would like to get cards from Bootstrap 4 to my projects. But I don't find where I can pull cards in css format instead of scss format.



      It's not a good idea to convert from scss to css to my mind.



      Thank you by advance and Happy New Year everybody !



      EDIT :



      I found something in https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css



      It seems to be cards in css format isn't it ? I just have to copy/paste to my file and it will be ok ?










      share|improve this question
















      I'm using Bootstrap 3 in my different projects and I would like to get cards from Bootstrap 4 to my projects. But I don't find where I can pull cards in css format instead of scss format.



      It's not a good idea to convert from scss to css to my mind.



      Thank you by advance and Happy New Year everybody !



      EDIT :



      I found something in https://github.com/twbs/bootstrap/blob/v4-dev/dist/css/bootstrap.css



      It seems to be cards in css format isn't it ? I just have to copy/paste to my file and it will be ok ?







      css twitter-bootstrap twitter-bootstrap-3 bootstrap-4






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 2 at 8:37







      Essex

















      asked Jan 2 at 8:28









      EssexEssex

      2,73012159




      2,73012159
























          1 Answer
          1






          active

          oldest

          votes


















          2














          .card {
          position: relative;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          min-width: 0;
          word-wrap: break-word;
          background-color: #fff;
          background-clip: border-box;
          border: 1px solid rgba(0, 0, 0, 0.125);
          border-radius: 0.25rem;
          }

          .card > hr {
          margin-right: 0;
          margin-left: 0;
          }

          .card > .list-group:first-child .list-group-item:first-child {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }

          .card > .list-group:last-child .list-group-item:last-child {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }

          .card-body {
          -ms-flex: 1 1 auto;
          flex: 1 1 auto;
          padding: 1.25rem;
          }

          .card-title {
          margin-bottom: 0.75rem;
          }

          .card-subtitle {
          margin-top: -0.375rem;
          margin-bottom: 0;
          }

          .card-text:last-child {
          margin-bottom: 0;
          }

          .card-link:hover {
          text-decoration: none;
          }

          .card-link + .card-link {
          margin-left: 1.25rem;
          }

          .card-header {
          padding: 0.75rem 1.25rem;
          margin-bottom: 0;
          color: inherit;
          background-color: rgba(0, 0, 0, 0.03);
          border-bottom: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-header:first-child {
          border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
          }

          .card-header + .list-group .list-group-item:first-child {
          border-top: 0;
          }

          .card-footer {
          padding: 0.75rem 1.25rem;
          background-color: rgba(0, 0, 0, 0.03);
          border-top: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-footer:last-child {
          border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
          }

          .card-header-tabs {
          margin-right: -0.625rem;
          margin-bottom: -0.75rem;
          margin-left: -0.625rem;
          border-bottom: 0;
          }

          .card-header-pills {
          margin-right: -0.625rem;
          margin-left: -0.625rem;
          }

          .card-img-overlay {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          padding: 1.25rem;
          }

          .card-img {
          width: 100%;
          border-radius: calc(0.25rem - 1px);
          }

          .card-img-top {
          width: 100%;
          border-top-left-radius: calc(0.25rem - 1px);
          border-top-right-radius: calc(0.25rem - 1px);
          }

          .card-img-bottom {
          width: 100%;
          border-bottom-right-radius: calc(0.25rem - 1px);
          border-bottom-left-radius: calc(0.25rem - 1px);
          }

          .card-deck {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-deck .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-deck {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          margin-right: -15px;
          margin-left: -15px;
          }
          .card-deck .card {
          display: -ms-flexbox;
          display: flex;
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          -ms-flex-direction: column;
          flex-direction: column;
          margin-right: 15px;
          margin-bottom: 0;
          margin-left: 15px;
          }
          }

          .card-group {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-group > .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-group {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          }
          .card-group > .card {
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          margin-bottom: 0;
          }
          .card-group > .card + .card {
          margin-left: 0;
          border-left: 0;
          }
          .card-group > .card:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-top,
          .card-group > .card:first-child .card-header {
          border-top-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-bottom,
          .card-group > .card:first-child .card-footer {
          border-bottom-right-radius: 0;
          }
          .card-group > .card:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-top,
          .card-group > .card:last-child .card-header {
          border-top-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-bottom,
          .card-group > .card:last-child .card-footer {
          border-bottom-left-radius: 0;
          }
          .card-group > .card:only-child {
          border-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-top,
          .card-group > .card:only-child .card-header {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-bottom,
          .card-group > .card:only-child .card-footer {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
          border-radius: 0;
          }
          }

          .card-columns .card {
          margin-bottom: 0.75rem;
          }

          @media (min-width: 576px) {
          .card-columns {
          -webkit-column-count: 3;
          -moz-column-count: 3;
          column-count: 3;
          -webkit-column-gap: 1.25rem;
          -moz-column-gap: 1.25rem;
          column-gap: 1.25rem;
          orphans: 1;
          widows: 1;
          }
          .card-columns .card {
          display: inline-block;
          width: 100%;
          }
          }

          .accordion .card {
          overflow: hidden;
          }

          .accordion .card:not(:first-of-type) .card-header:first-child {
          border-radius: 0;
          }

          .accordion .card:not(:first-of-type):not(:last-of-type) {
          border-bottom: 0;
          border-radius: 0;
          }

          .accordion .card:first-of-type {
          border-bottom: 0;
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
          }

          .accordion .card:last-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
          }

          .accordion .card .card-header {
          margin-bottom: -1px;
          }





          share|improve this answer
























          • Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

            – Essex
            Jan 2 at 8:43











          • My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

            – Anji
            Jan 2 at 8:45











          • Ok I do that ! Thank you :)

            – Essex
            Jan 2 at 8:49











          • @Ducky, always welcome.

            – Anji
            Jan 2 at 8:50











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54003269%2fget-bootstrap-css-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          .card {
          position: relative;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          min-width: 0;
          word-wrap: break-word;
          background-color: #fff;
          background-clip: border-box;
          border: 1px solid rgba(0, 0, 0, 0.125);
          border-radius: 0.25rem;
          }

          .card > hr {
          margin-right: 0;
          margin-left: 0;
          }

          .card > .list-group:first-child .list-group-item:first-child {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }

          .card > .list-group:last-child .list-group-item:last-child {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }

          .card-body {
          -ms-flex: 1 1 auto;
          flex: 1 1 auto;
          padding: 1.25rem;
          }

          .card-title {
          margin-bottom: 0.75rem;
          }

          .card-subtitle {
          margin-top: -0.375rem;
          margin-bottom: 0;
          }

          .card-text:last-child {
          margin-bottom: 0;
          }

          .card-link:hover {
          text-decoration: none;
          }

          .card-link + .card-link {
          margin-left: 1.25rem;
          }

          .card-header {
          padding: 0.75rem 1.25rem;
          margin-bottom: 0;
          color: inherit;
          background-color: rgba(0, 0, 0, 0.03);
          border-bottom: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-header:first-child {
          border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
          }

          .card-header + .list-group .list-group-item:first-child {
          border-top: 0;
          }

          .card-footer {
          padding: 0.75rem 1.25rem;
          background-color: rgba(0, 0, 0, 0.03);
          border-top: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-footer:last-child {
          border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
          }

          .card-header-tabs {
          margin-right: -0.625rem;
          margin-bottom: -0.75rem;
          margin-left: -0.625rem;
          border-bottom: 0;
          }

          .card-header-pills {
          margin-right: -0.625rem;
          margin-left: -0.625rem;
          }

          .card-img-overlay {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          padding: 1.25rem;
          }

          .card-img {
          width: 100%;
          border-radius: calc(0.25rem - 1px);
          }

          .card-img-top {
          width: 100%;
          border-top-left-radius: calc(0.25rem - 1px);
          border-top-right-radius: calc(0.25rem - 1px);
          }

          .card-img-bottom {
          width: 100%;
          border-bottom-right-radius: calc(0.25rem - 1px);
          border-bottom-left-radius: calc(0.25rem - 1px);
          }

          .card-deck {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-deck .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-deck {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          margin-right: -15px;
          margin-left: -15px;
          }
          .card-deck .card {
          display: -ms-flexbox;
          display: flex;
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          -ms-flex-direction: column;
          flex-direction: column;
          margin-right: 15px;
          margin-bottom: 0;
          margin-left: 15px;
          }
          }

          .card-group {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-group > .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-group {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          }
          .card-group > .card {
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          margin-bottom: 0;
          }
          .card-group > .card + .card {
          margin-left: 0;
          border-left: 0;
          }
          .card-group > .card:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-top,
          .card-group > .card:first-child .card-header {
          border-top-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-bottom,
          .card-group > .card:first-child .card-footer {
          border-bottom-right-radius: 0;
          }
          .card-group > .card:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-top,
          .card-group > .card:last-child .card-header {
          border-top-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-bottom,
          .card-group > .card:last-child .card-footer {
          border-bottom-left-radius: 0;
          }
          .card-group > .card:only-child {
          border-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-top,
          .card-group > .card:only-child .card-header {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-bottom,
          .card-group > .card:only-child .card-footer {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
          border-radius: 0;
          }
          }

          .card-columns .card {
          margin-bottom: 0.75rem;
          }

          @media (min-width: 576px) {
          .card-columns {
          -webkit-column-count: 3;
          -moz-column-count: 3;
          column-count: 3;
          -webkit-column-gap: 1.25rem;
          -moz-column-gap: 1.25rem;
          column-gap: 1.25rem;
          orphans: 1;
          widows: 1;
          }
          .card-columns .card {
          display: inline-block;
          width: 100%;
          }
          }

          .accordion .card {
          overflow: hidden;
          }

          .accordion .card:not(:first-of-type) .card-header:first-child {
          border-radius: 0;
          }

          .accordion .card:not(:first-of-type):not(:last-of-type) {
          border-bottom: 0;
          border-radius: 0;
          }

          .accordion .card:first-of-type {
          border-bottom: 0;
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
          }

          .accordion .card:last-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
          }

          .accordion .card .card-header {
          margin-bottom: -1px;
          }





          share|improve this answer
























          • Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

            – Essex
            Jan 2 at 8:43











          • My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

            – Anji
            Jan 2 at 8:45











          • Ok I do that ! Thank you :)

            – Essex
            Jan 2 at 8:49











          • @Ducky, always welcome.

            – Anji
            Jan 2 at 8:50
















          2














          .card {
          position: relative;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          min-width: 0;
          word-wrap: break-word;
          background-color: #fff;
          background-clip: border-box;
          border: 1px solid rgba(0, 0, 0, 0.125);
          border-radius: 0.25rem;
          }

          .card > hr {
          margin-right: 0;
          margin-left: 0;
          }

          .card > .list-group:first-child .list-group-item:first-child {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }

          .card > .list-group:last-child .list-group-item:last-child {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }

          .card-body {
          -ms-flex: 1 1 auto;
          flex: 1 1 auto;
          padding: 1.25rem;
          }

          .card-title {
          margin-bottom: 0.75rem;
          }

          .card-subtitle {
          margin-top: -0.375rem;
          margin-bottom: 0;
          }

          .card-text:last-child {
          margin-bottom: 0;
          }

          .card-link:hover {
          text-decoration: none;
          }

          .card-link + .card-link {
          margin-left: 1.25rem;
          }

          .card-header {
          padding: 0.75rem 1.25rem;
          margin-bottom: 0;
          color: inherit;
          background-color: rgba(0, 0, 0, 0.03);
          border-bottom: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-header:first-child {
          border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
          }

          .card-header + .list-group .list-group-item:first-child {
          border-top: 0;
          }

          .card-footer {
          padding: 0.75rem 1.25rem;
          background-color: rgba(0, 0, 0, 0.03);
          border-top: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-footer:last-child {
          border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
          }

          .card-header-tabs {
          margin-right: -0.625rem;
          margin-bottom: -0.75rem;
          margin-left: -0.625rem;
          border-bottom: 0;
          }

          .card-header-pills {
          margin-right: -0.625rem;
          margin-left: -0.625rem;
          }

          .card-img-overlay {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          padding: 1.25rem;
          }

          .card-img {
          width: 100%;
          border-radius: calc(0.25rem - 1px);
          }

          .card-img-top {
          width: 100%;
          border-top-left-radius: calc(0.25rem - 1px);
          border-top-right-radius: calc(0.25rem - 1px);
          }

          .card-img-bottom {
          width: 100%;
          border-bottom-right-radius: calc(0.25rem - 1px);
          border-bottom-left-radius: calc(0.25rem - 1px);
          }

          .card-deck {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-deck .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-deck {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          margin-right: -15px;
          margin-left: -15px;
          }
          .card-deck .card {
          display: -ms-flexbox;
          display: flex;
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          -ms-flex-direction: column;
          flex-direction: column;
          margin-right: 15px;
          margin-bottom: 0;
          margin-left: 15px;
          }
          }

          .card-group {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-group > .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-group {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          }
          .card-group > .card {
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          margin-bottom: 0;
          }
          .card-group > .card + .card {
          margin-left: 0;
          border-left: 0;
          }
          .card-group > .card:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-top,
          .card-group > .card:first-child .card-header {
          border-top-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-bottom,
          .card-group > .card:first-child .card-footer {
          border-bottom-right-radius: 0;
          }
          .card-group > .card:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-top,
          .card-group > .card:last-child .card-header {
          border-top-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-bottom,
          .card-group > .card:last-child .card-footer {
          border-bottom-left-radius: 0;
          }
          .card-group > .card:only-child {
          border-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-top,
          .card-group > .card:only-child .card-header {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-bottom,
          .card-group > .card:only-child .card-footer {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
          border-radius: 0;
          }
          }

          .card-columns .card {
          margin-bottom: 0.75rem;
          }

          @media (min-width: 576px) {
          .card-columns {
          -webkit-column-count: 3;
          -moz-column-count: 3;
          column-count: 3;
          -webkit-column-gap: 1.25rem;
          -moz-column-gap: 1.25rem;
          column-gap: 1.25rem;
          orphans: 1;
          widows: 1;
          }
          .card-columns .card {
          display: inline-block;
          width: 100%;
          }
          }

          .accordion .card {
          overflow: hidden;
          }

          .accordion .card:not(:first-of-type) .card-header:first-child {
          border-radius: 0;
          }

          .accordion .card:not(:first-of-type):not(:last-of-type) {
          border-bottom: 0;
          border-radius: 0;
          }

          .accordion .card:first-of-type {
          border-bottom: 0;
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
          }

          .accordion .card:last-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
          }

          .accordion .card .card-header {
          margin-bottom: -1px;
          }





          share|improve this answer
























          • Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

            – Essex
            Jan 2 at 8:43











          • My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

            – Anji
            Jan 2 at 8:45











          • Ok I do that ! Thank you :)

            – Essex
            Jan 2 at 8:49











          • @Ducky, always welcome.

            – Anji
            Jan 2 at 8:50














          2












          2








          2







          .card {
          position: relative;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          min-width: 0;
          word-wrap: break-word;
          background-color: #fff;
          background-clip: border-box;
          border: 1px solid rgba(0, 0, 0, 0.125);
          border-radius: 0.25rem;
          }

          .card > hr {
          margin-right: 0;
          margin-left: 0;
          }

          .card > .list-group:first-child .list-group-item:first-child {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }

          .card > .list-group:last-child .list-group-item:last-child {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }

          .card-body {
          -ms-flex: 1 1 auto;
          flex: 1 1 auto;
          padding: 1.25rem;
          }

          .card-title {
          margin-bottom: 0.75rem;
          }

          .card-subtitle {
          margin-top: -0.375rem;
          margin-bottom: 0;
          }

          .card-text:last-child {
          margin-bottom: 0;
          }

          .card-link:hover {
          text-decoration: none;
          }

          .card-link + .card-link {
          margin-left: 1.25rem;
          }

          .card-header {
          padding: 0.75rem 1.25rem;
          margin-bottom: 0;
          color: inherit;
          background-color: rgba(0, 0, 0, 0.03);
          border-bottom: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-header:first-child {
          border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
          }

          .card-header + .list-group .list-group-item:first-child {
          border-top: 0;
          }

          .card-footer {
          padding: 0.75rem 1.25rem;
          background-color: rgba(0, 0, 0, 0.03);
          border-top: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-footer:last-child {
          border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
          }

          .card-header-tabs {
          margin-right: -0.625rem;
          margin-bottom: -0.75rem;
          margin-left: -0.625rem;
          border-bottom: 0;
          }

          .card-header-pills {
          margin-right: -0.625rem;
          margin-left: -0.625rem;
          }

          .card-img-overlay {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          padding: 1.25rem;
          }

          .card-img {
          width: 100%;
          border-radius: calc(0.25rem - 1px);
          }

          .card-img-top {
          width: 100%;
          border-top-left-radius: calc(0.25rem - 1px);
          border-top-right-radius: calc(0.25rem - 1px);
          }

          .card-img-bottom {
          width: 100%;
          border-bottom-right-radius: calc(0.25rem - 1px);
          border-bottom-left-radius: calc(0.25rem - 1px);
          }

          .card-deck {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-deck .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-deck {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          margin-right: -15px;
          margin-left: -15px;
          }
          .card-deck .card {
          display: -ms-flexbox;
          display: flex;
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          -ms-flex-direction: column;
          flex-direction: column;
          margin-right: 15px;
          margin-bottom: 0;
          margin-left: 15px;
          }
          }

          .card-group {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-group > .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-group {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          }
          .card-group > .card {
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          margin-bottom: 0;
          }
          .card-group > .card + .card {
          margin-left: 0;
          border-left: 0;
          }
          .card-group > .card:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-top,
          .card-group > .card:first-child .card-header {
          border-top-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-bottom,
          .card-group > .card:first-child .card-footer {
          border-bottom-right-radius: 0;
          }
          .card-group > .card:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-top,
          .card-group > .card:last-child .card-header {
          border-top-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-bottom,
          .card-group > .card:last-child .card-footer {
          border-bottom-left-radius: 0;
          }
          .card-group > .card:only-child {
          border-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-top,
          .card-group > .card:only-child .card-header {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-bottom,
          .card-group > .card:only-child .card-footer {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
          border-radius: 0;
          }
          }

          .card-columns .card {
          margin-bottom: 0.75rem;
          }

          @media (min-width: 576px) {
          .card-columns {
          -webkit-column-count: 3;
          -moz-column-count: 3;
          column-count: 3;
          -webkit-column-gap: 1.25rem;
          -moz-column-gap: 1.25rem;
          column-gap: 1.25rem;
          orphans: 1;
          widows: 1;
          }
          .card-columns .card {
          display: inline-block;
          width: 100%;
          }
          }

          .accordion .card {
          overflow: hidden;
          }

          .accordion .card:not(:first-of-type) .card-header:first-child {
          border-radius: 0;
          }

          .accordion .card:not(:first-of-type):not(:last-of-type) {
          border-bottom: 0;
          border-radius: 0;
          }

          .accordion .card:first-of-type {
          border-bottom: 0;
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
          }

          .accordion .card:last-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
          }

          .accordion .card .card-header {
          margin-bottom: -1px;
          }





          share|improve this answer













          .card {
          position: relative;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          min-width: 0;
          word-wrap: break-word;
          background-color: #fff;
          background-clip: border-box;
          border: 1px solid rgba(0, 0, 0, 0.125);
          border-radius: 0.25rem;
          }

          .card > hr {
          margin-right: 0;
          margin-left: 0;
          }

          .card > .list-group:first-child .list-group-item:first-child {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }

          .card > .list-group:last-child .list-group-item:last-child {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }

          .card-body {
          -ms-flex: 1 1 auto;
          flex: 1 1 auto;
          padding: 1.25rem;
          }

          .card-title {
          margin-bottom: 0.75rem;
          }

          .card-subtitle {
          margin-top: -0.375rem;
          margin-bottom: 0;
          }

          .card-text:last-child {
          margin-bottom: 0;
          }

          .card-link:hover {
          text-decoration: none;
          }

          .card-link + .card-link {
          margin-left: 1.25rem;
          }

          .card-header {
          padding: 0.75rem 1.25rem;
          margin-bottom: 0;
          color: inherit;
          background-color: rgba(0, 0, 0, 0.03);
          border-bottom: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-header:first-child {
          border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
          }

          .card-header + .list-group .list-group-item:first-child {
          border-top: 0;
          }

          .card-footer {
          padding: 0.75rem 1.25rem;
          background-color: rgba(0, 0, 0, 0.03);
          border-top: 1px solid rgba(0, 0, 0, 0.125);
          }

          .card-footer:last-child {
          border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
          }

          .card-header-tabs {
          margin-right: -0.625rem;
          margin-bottom: -0.75rem;
          margin-left: -0.625rem;
          border-bottom: 0;
          }

          .card-header-pills {
          margin-right: -0.625rem;
          margin-left: -0.625rem;
          }

          .card-img-overlay {
          position: absolute;
          top: 0;
          right: 0;
          bottom: 0;
          left: 0;
          padding: 1.25rem;
          }

          .card-img {
          width: 100%;
          border-radius: calc(0.25rem - 1px);
          }

          .card-img-top {
          width: 100%;
          border-top-left-radius: calc(0.25rem - 1px);
          border-top-right-radius: calc(0.25rem - 1px);
          }

          .card-img-bottom {
          width: 100%;
          border-bottom-right-radius: calc(0.25rem - 1px);
          border-bottom-left-radius: calc(0.25rem - 1px);
          }

          .card-deck {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-deck .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-deck {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          margin-right: -15px;
          margin-left: -15px;
          }
          .card-deck .card {
          display: -ms-flexbox;
          display: flex;
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          -ms-flex-direction: column;
          flex-direction: column;
          margin-right: 15px;
          margin-bottom: 0;
          margin-left: 15px;
          }
          }

          .card-group {
          display: -ms-flexbox;
          display: flex;
          -ms-flex-direction: column;
          flex-direction: column;
          }

          .card-group > .card {
          margin-bottom: 15px;
          }

          @media (min-width: 576px) {
          .card-group {
          -ms-flex-flow: row wrap;
          flex-flow: row wrap;
          }
          .card-group > .card {
          -ms-flex: 1 0 0%;
          flex: 1 0 0%;
          margin-bottom: 0;
          }
          .card-group > .card + .card {
          margin-left: 0;
          border-left: 0;
          }
          .card-group > .card:first-child {
          border-top-right-radius: 0;
          border-bottom-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-top,
          .card-group > .card:first-child .card-header {
          border-top-right-radius: 0;
          }
          .card-group > .card:first-child .card-img-bottom,
          .card-group > .card:first-child .card-footer {
          border-bottom-right-radius: 0;
          }
          .card-group > .card:last-child {
          border-top-left-radius: 0;
          border-bottom-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-top,
          .card-group > .card:last-child .card-header {
          border-top-left-radius: 0;
          }
          .card-group > .card:last-child .card-img-bottom,
          .card-group > .card:last-child .card-footer {
          border-bottom-left-radius: 0;
          }
          .card-group > .card:only-child {
          border-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-top,
          .card-group > .card:only-child .card-header {
          border-top-left-radius: 0.25rem;
          border-top-right-radius: 0.25rem;
          }
          .card-group > .card:only-child .card-img-bottom,
          .card-group > .card:only-child .card-footer {
          border-bottom-right-radius: 0.25rem;
          border-bottom-left-radius: 0.25rem;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) {
          border-radius: 0;
          }
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-top,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-img-bottom,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-header,
          .card-group > .card:not(:first-child):not(:last-child):not(:only-child) .card-footer {
          border-radius: 0;
          }
          }

          .card-columns .card {
          margin-bottom: 0.75rem;
          }

          @media (min-width: 576px) {
          .card-columns {
          -webkit-column-count: 3;
          -moz-column-count: 3;
          column-count: 3;
          -webkit-column-gap: 1.25rem;
          -moz-column-gap: 1.25rem;
          column-gap: 1.25rem;
          orphans: 1;
          widows: 1;
          }
          .card-columns .card {
          display: inline-block;
          width: 100%;
          }
          }

          .accordion .card {
          overflow: hidden;
          }

          .accordion .card:not(:first-of-type) .card-header:first-child {
          border-radius: 0;
          }

          .accordion .card:not(:first-of-type):not(:last-of-type) {
          border-bottom: 0;
          border-radius: 0;
          }

          .accordion .card:first-of-type {
          border-bottom: 0;
          border-bottom-right-radius: 0;
          border-bottom-left-radius: 0;
          }

          .accordion .card:last-of-type {
          border-top-left-radius: 0;
          border-top-right-radius: 0;
          }

          .accordion .card .card-header {
          margin-bottom: -1px;
          }






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 2 at 8:39









          AnjiAnji

          17912




          17912













          • Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

            – Essex
            Jan 2 at 8:43











          • My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

            – Anji
            Jan 2 at 8:45











          • Ok I do that ! Thank you :)

            – Essex
            Jan 2 at 8:49











          • @Ducky, always welcome.

            – Anji
            Jan 2 at 8:50



















          • Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

            – Essex
            Jan 2 at 8:43











          • My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

            – Anji
            Jan 2 at 8:45











          • Ok I do that ! Thank you :)

            – Essex
            Jan 2 at 8:49











          • @Ducky, always welcome.

            – Anji
            Jan 2 at 8:50

















          Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

          – Essex
          Jan 2 at 8:43





          Yes it was I found. I assume it's ok to insert this part into my Boostrap 3 css file.

          – Essex
          Jan 2 at 8:43













          My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

          – Anji
          Jan 2 at 8:45





          My suggestion is to insert in a separate file instead of adding it in the bootstrap.css file.

          – Anji
          Jan 2 at 8:45













          Ok I do that ! Thank you :)

          – Essex
          Jan 2 at 8:49





          Ok I do that ! Thank you :)

          – Essex
          Jan 2 at 8:49













          @Ducky, always welcome.

          – Anji
          Jan 2 at 8:50





          @Ducky, always welcome.

          – Anji
          Jan 2 at 8:50




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54003269%2fget-bootstrap-css-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          MongoDB - Not Authorized To Execute Command

          How to fix TextFormField cause rebuild widget in Flutter

          Npm cannot find a required file even through it is in the searched directory