Category "css"

Flexbox child not reading height/width of parent

I was experimenting with flexbox and created this layout. I'm trying to get the middle white box that says "hey" to be 90% width/height of the parent but percen

I accidentally designed my webpages on zoom value of 80% on Chrome. How do I modify my CSS to adjust to 100% zoom?

As you can see below, this is how it looked while I was designing the page 80% : After finding out that I was on 80% all along, I had completed 90% of my CSS

input / button elements not shrinking in a flex container

When using input and button elements inside a flex container, the flex and/or flex-grow properties don't seem to do anything. Code that demonstrates my issue.

How can i hide dt if dd got empty value

I need to hide dt if dd got empty value. how can i do that? <dt class="col-sm-6 text-dark" >Subject</dt> <dd class="col-sm-6">{{$course_

ng-bootstrap Change default color of radio button

I am new to ng-bootstrap. Default color of radio buttons in ng-bootsrap is blue. I need default color as yellow and on click it should be green. buttons-rad

Shift img few pixels up or down

This seems trivial, but I cannot find anything. I have a text and small image (icon) inside the text like this: <span>ask<img src=ask.svg height=16>

UI5 - How to Resize Table Height

​Hello, It seems that table row height of UI5 Table is pretty big with lot of white space above and below the text. Is there anyway I can resize the h

Streamlabs custom CSS twitch chat animate name and message seperatly

I want to customise my twitch chat overlay from Streamlabs so that the username of the person animates from the left while the actual message they send animates

material community icons, setting the size causes android to crash?

I have no idea why setting the size like I am on line 38 is causing the android app to crash. If you take the size away, it works perfectly fine. I have all of

I can't put backdrop-filter: blur(); atribute in my div-container

When I put a backdrop-filter atribute in 2 separate containers just the first one get the filter Like this: And i want to apply on both containers at the same

Responsive circles in a row with flexbox

I want to draw 4 circles, being all 4 flex-items, and I need them to scale with the container they are in. I have seen some solutions where padding-bottom is us

HTML to Image - vertical text

I'm using library TheArtOfDev.HtmlRenderer to convert html to image and then send it to printer. The Html I need to convert contains vertical text and rounded

What is behavior: url(); property in css?

I was surfing and saw this css property which I have never seen or used before. I think it is related to Internet Explorer, and the structure is something like

Remove extra horizontal width from overflow wrapping with flex

Essentially, I am trying to remove/prevent the extra horizontal width created when a horizontal row of block elements has any of the block elements wrapped. Tha

Putting -moz-available and -webkit-fill-available in one width (CSS property)

I want to make the width of the footer browser-independent. For Mozilla I want to use the value of -moz-available, and when a user uses Opera, then CSS should g

How to make html table columns resizable?

I have a fairly standard bootstrap-styled <table>. I want to make columns of this table resizable, e.g. by click-and-dragging right border of <th> e

Is there a column break in my paragraph? How many lines in is it?

CSS has a concept of widows and orphans, so the browser has a way of knowing how many lines cross the column (or, if printing, page) boundary. Is there a way

Navigate to SASS class instead of CSS from HTML in PhpStorm?

Is there any way to make JetBrains PhpStortm (v8) to navigate to the SASS file when I Ctrl+cilck on a CSS class/id in the HTML source, insted of the default (to

How to use multi-column option box within select element

we all know Drop-down list can have mutli menus in drop down like this I was trying to do the same using select element #otp2{ margin-top:-100px; }

Bootstrap button drop-down inside responsive table not visible because of scroll

I have a problem with drop-down buttons inside tables when are responsive and scroll active because the drop-down is not visible because of overflow: auto; prop