Category "css"

How to add animate icon menu dropdown open / closed

I built a dropdown menu with fade animation with the help of stackoverflow users. Everything works beautifully. But now I would like to add an icon to the butto

Can I disable pointer events on a container but still allow it to be scrolled with the mouse?

I think the answer is no and thus I'm going to need a new approach. Essentially what I'm trying to do is put a group of floating action buttons on top of a leaf

How can I put text over a fixed image in html and make the text scrollable?

This may be a stupid question, but I am making a website and I want to have a page that has a fixed image that stays where it is when you scroll to see more tex

How do i apply css in Safari browser to show background color and hover effect of this <li>box

i can not figure out how to address this issue with safari browser. Note the images attached. One Chrome, shows box with background color and there is also a

how to make navbar responsive and collapseable

I am trying to get this navbar to be reponsive, im not too familiar with reponsive layouts but i know how to use media queries a little bit, and i haven't tried

Continuous/constant autoplay speed with iDangerous Swiper

I want to achieve a continuous/constant speed while autoplaying through the slides. It is easy by just setting the CSS transition-timing-function of .swiper-wra

Flexbox first element on center and the rest below

There is a good chance someone has asked this question already, but I can't seem to figure out the right keywords to find the answer. I want my first element in

In what way can we compile our scss or sass file to the css file?

I am learning about sass and I am wondering how we should give a link in our CSS stylesheet. I know sass files are stored differently but should we address it l

Why does my shadow dom break my custom element?

Here is a JSFiddle demonstration of the custom element: https://jsfiddle.net/c4bLo097/5/ Here is the code from the fiddle: JavaScript: window.customElements.def

Firefox Select dropdown is not inheriting page font

A problem I'm encountering on my web pages is that on Firefox (and Firefox only), the options inside <select> tags are not affected by font-family: inheri

Unordered list item bullet point sitting above text

I'm still pretty new to CSS so this might be a silly question. The list uses a hyphen rather than a bullet style. The bullet is sitting above the text line rath

Using Tailwind3 in Flask application without manually (re-)generating css

I'm currently trying to set up a flask project using tailwindcss 3.0.23. For templating I'm using jinja. Furthermore yarn is used. During previous projects when

Using Bootstrap Icons in Rails 6 with Webpacker

I wanted to use Bootstrap icons in beta "Official open source SVG icon library for Bootstrap." https://icons.getbootstrap.com/. This is for Bootstrap 4 in Rails

bootstrap 5 dropdown-menu navbar streches strangly when hover on dropdown-ul-items

My bootstrap dropdown Navbar menu acts strangely on small screens. As shown n the images below, hovering above dropdown menus pushes the other UL section below

Pie chart breaks if one slice is bigger than half the pie

I wrote some JavaScript code to generate Pie Charts for me, but when one Slice is bigger than half, the whole thing breaks. Using clip to make half-circles, it

Change height of navbar button and change it from (:selected) to (:hover)

My navbar functions in a :selected way, which means the dropdown menu only shows when the button is selected. I would like to change it to hover instead, but wh

How to assigning multiple properties at a time in SASS, then individual ones?

In SASS for CSS, I'm trying find a way to save redundancy in the code. .language #russian width: 97px

How to set a particles background on nextjs?

I would like to set a particles background only on one page of my web application. I used the following code: import styles from "../styles/Page.module.css"; im

Disable/ Enable for Next and Back button in PrimeFaces Wizard

I am new to JSF Primefaces I am using Primeface wizard, where I need to disable/ enable the Next/ Back button in the wizard using java. I have tried with below

How to make Bootstrap5 Columns all a similar height?

I'm using Bootstrap5. However, I'd just like to make a similar height of these two columns. How can I do that? Here's the Code: <link href="https://cdn.jsdel