How to over-ride img-width from bootstrap? Set css rule to null?


Tags: css,twitter-bootstrap,override

Problem :

I'm using bootstrap and I have a very small custom over-ride style sheet that loads last and it seems to work great, However I found that Bootstrap has

img {img-width:100%;}

I found it is causing Chrome to really downsize some images, which show fine in FF so I tried using the inspector and if I eliminate the rule, all seems fine.. but I can't figure out how to do that in a sub css sheet, since

{img-width: ;} 

is not legal? and I tried

{img-width:100;} 

which seemed to make the inspector happy since it knew that it was junk but did not work in real -life, since it ignored the rule?? So how do you set a css property to null in a sub style sheet?



Solution :

The answer!! img {img-width : none;} Thanks to an answer from Github on the bootstrap issues... Would appreciate Madth3 and Roman C correcting...


    CSS Howto..

    How can I make this image responsive?

    How to slide down to show content of DIV using CSS/jQuery?

    how to avoid from loading unnecessary javascript and css in page on codeigniter to improve the load time [closed]

    Speechbubble tooltip in CSS - how to move the arrow

    How to toggle css media queries on and off

    How do I optimize a very loooong page with TONS of images on it?

    Does HTML5 DOCTYPE affect how CSS3 effects are rendered?

    How to calculate CSS letter-spacing v.s. “tracking” in typography?

    How can I center-align text with uneven icons either side?

    How to prevent this H2-tag from half disappearing?

    How could I achieve the same navigation using CSS3? (currently flash AS3)

    How to add css for specific input type text

    How do I use CSS to select for a tag with arbitrary name attribute?

    How do I detect the user’s browser and apply a specific CSS file?

    how to make yo angular load bootstrap theme css

    how to I use an Arabic font in my css?

    How to click an element by innerthtml using CSS selectors in Selenium

    How to style an anchor tag to look like a button with the same height as the button?

    How to center an isometric grid on a background with CSS/JS

    How to use css in asp.net

    how to make minified and readable css file in sublime text?

    Something in my CSS is causing a random white bar to appear, how do I fix it?

    How to change class of valid form field - jQuery form validation plugin

    Jquery: How to check if the element has certain css class/style

    How to overlay two fonts with css

    How do I use icons from fontello in my css?

    How to give a border as a background in css without using image and without adding anything to mark-up?

    How to get Facebook Like Box “Dark Scheme” to work correctly? (Background is transparent.)

    How can I set a border in alignment with other borders

    How to go from scrolling to fixed header [closed]