Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    dewanshdutta
    @dewanshdutta2_twitter
    shancat[1].jpg
    ankitdhama
    @ankitdhama
    Search and create your code snippets on https://devsheet.com/
    ktin
    @ktin
    Hi can someone help me because my email modal is not showing
    thank you
    Alexandr Rešetňak
    @Resetnak
    Hi. Post the modal here.
    Marvel B'ringa
    @Sneme
    NewDimension
    @NewDimension
    Question about SCSS, if you have $class: foo. With foo : bar !default. Then you go and define foo before loading the files. Does $class get the default value or the new one?
    Specifically, I'm wondering why setting $font-weight-bold: 600; doesn't lead to $badge-font-weight to be set to the same value.
    Eric
    @sliceofbytes
    @NewDimension yes it will override the derived variable
    NewDimension
    @NewDimension
    @sliceofbytes huh, it didn't with this setup https://dpaste.de/ETLe
    Eric
    @sliceofbytes
    You have to set your variables before the import
    NewDimension
    @NewDimension
    @sliceofbytes ah. I see the issue now. The ones with $dark belong after variables. But the numbers ones belong before
    Thank you
    Eric
    @sliceofbytes
    @import '~bootstrap/scss/functions';
    $font-weight-bold:1500;
    @import '~bootstrap/scss/variables';
    np
    Harimau melaya
    @HarimauApapap_twitter
    Hi
    Dhaval Vira
    @dhavalveera
    hi
    Nazar Broslavskyi
    @nazarbroslavskyi
    Felipe Catão do Nascimento
    @FelipeKatao
    Please, who can follow me in GitHub? I write one project in Python one new framework, and this project and my profile need plus one follow, for I can participate one conpetition, who could help , I thanks : https://github.com/FelipeKatao
    Hizqeel Javed
    @barcode374
    What the Fuck
    Vini Brasil
    @vnbrs

    Hey! I've started a curated list of blogs, websites, and all kinds of reads about software development. If you could take a look, or even, contribute by adding blogs about front-end and/or Bootstrap , it'd be nice!

    https://github.com/vnbrs/digest

    WebGearMT
    @WebGearMT

    I'm having problems with sizing my bootstrap image here. Here's the html (index.ejs):

    <title>Title</title>
      </head>
      <body>
        <% include /home/user/nodejs/q-a-to-christianity/admin/views/partials/nav.ejs %>
        <div class="jumbotron jumbotron-fluid text-center mdb-color darken-4 white-text">
          <div class="container-fluid">
            <img class="img-fluid" src="images/banner.png" width="1000" height="20px">
            <p>Enlighting the world for Christ</p>

    The problem I'm facing is that the height doesn't change at all, no matter how small or big I make it. The strange thing is, it changes in the DOM, yet it's different in the box model:

    Screenshot from 2019-09-24 12-15-21.png
    WebGearMT
    @WebGearMT

    I finally resolved to removing the dimensions from the html and trying to size it in the sass, some my attempts were:

    center > .img-fluid {
      background-image: image("admin/public/images/banner.png");
      width: auto;
      height: 20%;
    
    }
    #banner {
      background-image: image("admin/public/images/banner.png");
      width: auto;
      height: 20%;
    
    }

    Whenever I do something like this, the size goes away and the image is to back to its original size again. here's the pen with the complete code (sorry, couldn't add the necessary files for bootstrap because I'm not allowed more than 7 files):
    https://codepen.io/CodeEngine1/project/editor/DygQGb/

    Does anyone know how to fix this?
    Baillie O'Grady
    @baillieogrady
    Hello everyone!
    Baillie O'Grady
    @baillieogrady
    @WebGearMT Hello, you could maybe try setting a width of 100% so it spans the full width of its container. Also, with setting a percentage value height it'll be 20% of it's parent, so if the parent has no height it'll remain flat. Maybe try using a vh value instead like 20vh?
    sac
    @c236_gitlab
    hello
    andesappal
    @andesappal
    Hi, does anyone know why this HTML and CSS code does not form a table in AngularDart? Is there any other way to view a table of mdc cards?
    mindruion
    @mindruion
    hello everyone
    How can I set height of a div for full screen ?
    Eric
    @sliceofbytes
    @mindruion height:100%, or height:100vh
    mindruion
    @mindruion
    Yes
    I use this
    image.png
    but it is not full
    and I check every parent is 100%
    I have something like this
    image.png
    in my project
    and navbar--height is with 12%
    and full--height
    is 88
    is correct to set height like this?
    Eric
    @sliceofbytes
    That is one way to split the container
    It's html and css so there are many ways to skin the cat.
    mindruion
    @mindruion
    but I have a question about it
    will be 88% after those 12%
    ?
    Eric
    @sliceofbytes
    Ya, splitting a container by percentage is perfectly acceptable depending on the css properties
    mindruion
    @mindruion
    thanks Eric