• Bricks Builder: How to Align the Checkbox and the Label using simple CSS

     

    How to Align the Checkbox and the Label using simple CSS

    In most cases, the label and checkbox align to each other, but what if you have a long text and viewing it on the wide screen makes the checkbox and label stack to each other, now this simple solution using CSS will help you solve the problem.

    Since the id of the input is dynamic we will be using a selector to select input and the label.

    CSS Code:

    input[type="checkbox"] + label {
    display: inline;
    }

    CSS code to inline checkbox and the label BRICKS BUILDER


  • 0 comments:

    Post a Comment

    GET A FREE QUOTE NOW

    I am flexible and would like to work with you long term, and currently I am looking for a fulltime job with a long term opportunity, but able to work also part-time, get free qoute for project.

    Search This Blog

    Powered by Blogger.

    Mga Pahina

    ADDRESS

    Purok 5-A, Brgy. Magdum, Tagum City 8100, Davao del Norte, Philippines

    EMAIL

    gransebryan@gmail.com
    bryanworkdevs@gmail.com