Category "css"

How to toggle between two images on click without using JavaScript

In a HTML document, I have <img src="cat-thumbnail.jpg">. When the user clicks on the image, I want to display another image instead: <img src="cat-ful

Is it possible to make an md-button smaller?

I want my buttons showing left- and right arrow and NOW text to be as small as possible. How do I do that? <div ng-controller="DateCtrl" layout="row" flex&g

Can I adjust the button styles of Chrome's <input type="date"> datepicker?

Is there any way to change the input type="date" styles from Chrome's default styles? I want to replace the circle button to something else. The circle button s

How to hide background for ::cue pseudo-element on Safari?

I'm trying to hide captions on a video element: I'm using the following css: video::cue { visibility: hidden; } It works fine in Chrome, but on Safari it

How to use custom CSS on a default Sphinx theme?

I'm creating documentation in Python with the Sphinx default theme agogo. I would like to use the topic directive to put a box around important information but

Angular: Google Material Icons not rendering

In Angular project Google material icons are working fine in chrome but not rendering in chrome incognito mode and firefox . In index.html below lines are used

How do you disable the datepicker in Microsoft Edge?

I have several inputs with type="date" and want to disable the default date picker in Microsoft Edge since I'm using jQuery's datepicker. How do I disable this

How to reset margin-bottom to its default value

I'd like to be able to set the margin-bottom of an element to its default value. Consider the following example in which there are h1 elements which have their

If I click to the first radio btn the second box first value should highlighted. How is that possible?

I have two boxes, One contains radio btns and in another box I have some values. If I click to the first radio button. First column values should highlight. My

Hide div that contains specific text

I want to hide a div based on the text inside. In the example below I want to hide the ones with "Handtekening" and the one with "Thuis". I prefer to do that wi

What is the proper way of nesting related CSS lines?

I am trying to nest these lines of code together, I have tried the following but it does not work, is there any other way to have both the button and a tag chan

React path to public folder in css background image

I am using Create-React-App and I want to add background image for my header section and I am doing this in that way: background-image: url('~/Screenshot_11.png

bootstrap fixed table headers with scrolling body

New to programming and first time posting here as well. I've got a bit of an issue with my bootstrap table inside a panel. I have a dropdown menu where the use

How do I get rid of the white spaces on both sides of an image?

I'm trying to get rid of the empty space around an image, which is inside of a bootstrap column. I've managed to fix the problem on desktop using -1rem on the

Aligning the table to te center of the page in Markdown

I want to align the table to the center of the page, how ever the <div align="center" <table> </div> function does not work. How would I be able

How can I center the text in the headers for an AG-grid control?

How can I center the text in the headers for an AG-grid control? I have tried using cellstyle and cellclass in the column definition but that did not work. Than

How to update Rule property value in JSS 10.9.0

I'm trying to dynamically update a rule in JSS. I'd like to set the hover background color. According to the docs, it should be: sheet.getRule('a').prop('propS

Why is <marquee> deprecated and what is the best alternative?

Longer time I'm curious about HTML tag <marquee>. You can find in MDN specification: Obsolete This feature is obsolete. Although it may still work

Modifying Shopify Polaris Styles - Reactjs

I am trying to modify Shopify Polaris Button components colors for React, I tried to change style.css file but nothing happened. Any idea how to do so? App.j

Angular: css variables are not usable in components

Hi i am trying to use css variables to predefine colors for example. Here is my app.component.css :root { --main-bg1: rgb(26, 28, 29); --main-bg2: rgb(66, 7