Skip to main content
3 votes
2 answers
124 views

I am looking to construct CSS to target this element... <input type="button" pseudo="-webkit-media-controls-play-button" aria-label="play" ...
Corona MacGuinness's user avatar
1 vote
3 answers
81 views

I am trying to target a paragraph only if it is not inside the custom component my-component. like this: // Style all elements that are NOT inside my-component :not(my-component) *{ color: red; } ...
Pascal's user avatar
  • 2,390
3 votes
1 answer
103 views

I am trying - and failing - to write JavaScript to click this button: The HTML for the button varies depending on the page Example 1 from this page: <span class="a-button-text" aria-...
Sockie's user avatar
  • 309
0 votes
0 answers
28 views

Below is my HTML code that showcase the problem. Without modifying the HTML structure or adding a class is it possible to select the 3rd span.chatbot-bot-response-inner that contains for example img[...
Mehdi's user avatar
  • 1,797
-1 votes
1 answer
54 views

When I have the width style of an image defined to be 100% of the parent then the image does not overflow. But, when I define the max-width to be 100% of the parent then it overflows. Here is my ...
dubc's user avatar
  • 61
0 votes
0 answers
56 views

I have just migrated from SCSS to PostCSS and encountered only one issue I cannot resolve. The issue concerns how to alter a the styles of a nested element when its parent has a specific class. The ...
Walrus's user avatar
  • 20.6k
6 votes
1 answer
150 views

Let's say we have a list of items, with splitter elements (<h3>), for example dates : <h2>Big Header</h2> <div id='container'> <h3>Week Title A</h3> <...
Mm-Art-In's user avatar
  • 23k
1 vote
1 answer
70 views

My goal is to have an architecture where the shadow is defined once, but the color changes depending on HTML attribute data-color-mode. Note: code provided is just for the isolated problem ...
Slava's user avatar
  • 3,157
0 votes
1 answer
65 views

I'm developing a custom user stylesheet for YouTube to add a "WATCHED" overlay to video thumbnails. My main objective is: The overlay should be visible on any video that has been watched, ...
Danny Devito's user avatar
3 votes
3 answers
135 views

Given: <table> <caption>Table Title</caption> <thead> <tr>...</tr> </thead> <tbody> <tr>...</tr> </tbody> </table&...
rhavin's user avatar
  • 1,804
3 votes
1 answer
108 views

Is it possible to select via a CSS selector (or xpath) an element based on its computed aria name (=accessible name)? For instance for buttons it is computed like The button has an accessible label. ...
tobiasBora's user avatar
  • 2,594
1 vote
1 answer
83 views

Not that two lines versus one is an issue; but I'd like to learn if there is a more concise way of selecting all but the last-child unless the last-child is also the first-child or only-child, in ...
Gary's user avatar
  • 3,226
1 vote
1 answer
91 views

I am learning to scrape data and using the website https://quotes.toscrape.com/ as a training dataset. When I try to collect the about section links, I get this error: Error in html_attr(html_elements(...
Bogz's user avatar
  • 13
0 votes
3 answers
57 views

Here is my snippet. The <p> is the text "Cool CDs", which appears as a gradient-filled text (with the use of background-clip:text). p::before is a slightly shifted-down stroke that I ...
theTrillionthDavid's user avatar
0 votes
0 answers
12 views

I'm working on a pricing section where each plan is inside a `.plan-box`. All direct `<div>` elements inside `.plan-box` have a general style: ```css .plan-box div { padding: 15px; ...
True_Nerd's user avatar

15 30 50 per page
1
2 3 4 5
1033