Category "html"

How to apply the style only if next element has specific class?

Markup: <li class="divider"></li> <li class="active"><a href="#">Home</a> <li class="divider"></li> <li><a h

Bootstrap 3 dropdown menu changing background on submenu focus

I have changed the background colors of my Bootstrap menu, but the background color of the main dropdown item in the list is changing when the submenu (the menu

Images load fine locally, but not on webserver

been looking around here for a bit but still haven't found an answer. Have an issue with a site I'm working on. Site is entirely self contained in a folder. Tr

Google play review scraping changes

Over the past year or so I have created a number of scripts to scrape Android app reviews from Google Play. In the past this was working fine by mimicking the G

Set mouse wheel to horizontal scroll using css

I want to design a horizontal page. When I use mouse wheel it just scrolls content vertically. How can I use horizontal scroll by mouse wheel? Does CSS support

laravel Livewire wire:click not firing the function

I want to do a SPA with laravel livewire, i want to use wire:click to fire a funtion in the component but it not working , excuse me if the code mess its my fir

TikTok embedded video keeps disappearing

I'm trying to embed a TikTok video into my web page, but when the page is loading, I see the video layout for a second before it disappears. This is the code wh

:before && :after pseudo elements not showing Firefox

Firefox is not displaying :after and :before but they do show in Chrome. Firefox & Chrome: Viewing the source directly in Firefox shows the CSS is there:

How to set fit width when embedding pdf in Chrome?

When I embed a pdf to view on Chrome/ Firefox , no matter I set width / set the parameter , it does not change the width of the pdf content, the only thing I ca

Creating a plain html home page AMP with WordPress running the other pages

Gday I like to know how you would go about creating a home page in plain html and have WordPress run the other pages? The reason is I’d like to create

Why is "cursor:pointer" effect in CSS not working

I set cursor: pointer for .about > span, but when my mouse hovers on those texts in <span>, the cursor does not change into pointer mode. I would like

Getting Value of Selected Nav Pill

I'm trying to make a pair of nav pills to choose between a graphical and a tabular output for a set of data and I can't seem to figure out how to grab the value

CSS z-index not working with child-elements

Ive tried for a personal project to do menus, that are opened on highest layer (z-index 3) so they overlay my board, but the header in which they are is at lowe

Simple jquery not working to print the input value

Here is a simple code which takes input and print it on the same page. But it is not working when I click on button. Please help regarding this. <html> &

Adjusting position of CSS drop down menu

I am trying to modify a CSS Tab w/dropdown menu to add another level of menu (don't ask why). I got it working, but I want the second drop down menu (the one wi

Trying to target specific links for styling in CSS

I'm trying to target just the links in my nav bar as I have inserted other dummy links further down in my home page that I want to style on their own. I have tr

What is the difference between the Descendant combinator and the subsequent sibling combinator? [duplicate]

To my knowledge, the descendant combinator (space) targets child and descendants of the parent element. the subsequent sibling combinator (~)

What is the difference between the Descendant combinator and the subsequent sibling combinator? [duplicate]

To my knowledge, the descendant combinator (space) targets child and descendants of the parent element. the subsequent sibling combinator (~)

HTML5 datalist tag is not working in android

I am using the datalist tag to provide auto-complete to an input text. The tag is working fine on desktop chrome but it's not working when I test it on my phon

What is causing my text to be center aligned in desktop?

I'm using Bootstrap 4's accordion on this page, and the text of the last item of the accordion is being centered. I'm not using text-center nor do I have a CSS