id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_73236199 | stackoverflow | FRONTEND_DEVELOPMENT | How do I add a Checkbox inside Select Option? | How do I add a Checkbox inside Select Option?
I want to create a Checkbox inside the Select Option and it only shows the checkbox in Select All Sites option. How can I implement it?
I am using react-select library for dropdown.
current behaviour:
My code:
https://codesandbox.io/s/proud-water-cvjhgc?file=/src/index.js... | https://stackoverflow.com/questions/73236199/how-do-i-add-a-checkbox-inside-select-option | javascript, css, reactjs, dropdown | 1,659,617,112 |
se_79889680 | stackoverflow | FRONTEND_DEVELOPMENT | How to handle @source for a React UI Library in production? | How to handle @source for a React UI Library in production?
I am currently building a custom React UI library (monorepo structure) using Tailwind CSS v4.
During development with Storybook, my styles only render correctly if I explicitly point to the source files using the @source directive in my CSS entry point:
/* in... | https://stackoverflow.com/questions/79889680/how-to-handle-source-for-a-react-ui-library-in-production | css, reactjs, user-interface, tailwind-css, tailwind-css-4 | 1,771,159,266 |
se_79889392 | stackoverflow | FRONTEND_DEVELOPMENT | How to properly manage authentication with Axios and React Context in a TypeScript app? | How to properly manage authentication with Axios and React Context in a TypeScript app?
I’m building a React + TypeScript app and using Axios for API requests. I have an AuthProvider using React Context to manage the user and token, and I’m running into a few questions and issues:
Do I need to use setToken() when the... | https://stackoverflow.com/questions/79889392/how-to-properly-manage-authentication-with-axios-and-react-context-in-a-typescri | javascript, reactjs, authentication, react-context | 1,771,089,431 |
se_79636778 | stackoverflow | FRONTEND_DEVELOPMENT | Multi-step form only submits last step's values – how to preserve and submit all step values? | Multi-step form only submits last step's values – how to preserve and submit all step values?
I'm building a reusable form component in React that supports both:
Simple (single-step) forms, and
Multi-step forms (each step has its own schema and inputs).
I'm using:
react-hook-form
Zod for schema validation
Custo... | https://stackoverflow.com/questions/79636778/multi-step-form-only-submits-last-steps-values-how-to-preserve-and-submit-all | javascript, reactjs, typescript, react-hook-form, zod | 1,748,090,705 |
se_75263433 | stackoverflow | FRONTEND_DEVELOPMENT | React Codemirror import issue | React Codemirror import issue
I am facing this error when trying to import codemirror :
Attempted import error: 'codemirror' does not contain a default export (imported
as 'codeMirror').
ERROR in ./src/Component/Editor.js 22:6-29
export 'default' (imported as 'codeMirror') was not found in 'codemirror' (possib
le exp... | https://stackoverflow.com/questions/75263433/react-codemirror-import-issue | reactjs, react-hooks, codemirror, google-developers-console | 1,674,854,149 |
se_66255566 | stackoverflow | FRONTEND_DEVELOPMENT | Webpack 5 Receiving a Polyfill Error?!?! My JavaScript React project is receiving a polyfill error while trying to compile my webpack.config.js file | Webpack 5 Receiving a Polyfill Error?!?! My JavaScript React project is receiving a polyfill error while trying to compile my webpack.config.js file
I am taking a course on Udemy (it is Brad Schiff's React for the Rest of Us course here) that is based on React and I am receiving an error related to webpack which is ke... | https://stackoverflow.com/questions/66255566/webpack-5-receiving-a-polyfill-error-my-javascript-react-project-is-receivin | javascript, reactjs, webpack, webpack-dev-server, webpack-4 | 1,613,634,078 |
se_68995655 | stackoverflow | FRONTEND_DEVELOPMENT | WebPack - TypeError: __webpack_modules__[moduleId] is not a function (development) // Error: Invalid hook call (production) | WebPack - TypeError: __webpack_modules__[moduleId] is not a function (development) // Error: Invalid hook call (production)
I'm struggling with a WebPack error that occur when I use my custom library hosted as a package and streamed with NPM Link. Meanwhile, the production version works perfectly
Here is my scripts
"s... | https://stackoverflow.com/questions/68995655/webpack-typeerror-webpack-modules-moduleid-is-not-a-function-developmen | javascript, reactjs, npm, webpack | 1,630,399,884 |
se_71480469 | stackoverflow | FRONTEND_DEVELOPMENT | Should I use IIFE in useEffect hook? | Should I use IIFE in useEffect hook?
Is it good practice to use IIFE in useEffect or I should declare async function and then call it?
useEffect(() => {
(async () => {
const response = await fetch(
"https://jsonplaceholder.typicode.com/posts"
);
const json = await response.json();
... | https://stackoverflow.com/questions/71480469/should-i-use-iife-in-useeffect-hook | javascript, reactjs, react-hooks, use-effect, iife | 1,647,339,390 |
se_44237033 | stackoverflow | FRONTEND_DEVELOPMENT | Error React.Children.only expected to receive a single React element child | Error React.Children.only expected to receive a single React element child
Not entirely sure what went wrong in my app here. I'm using create-react-app, and I'm trying to render all of my components into the respective root div. Problem is, I'm able to render all of the components onto the page except the very last on... | https://stackoverflow.com/questions/44237033/error-react-children-only-expected-to-receive-a-single-react-element-child | javascript, reactjs, react-props | 1,496,043,591 |
se_76498584 | stackoverflow | FRONTEND_DEVELOPMENT | React.Children.only expected to receive a single React element child after clicking on the dropdown | React.Children.only expected to receive a single React element child after clicking on the dropdown
Hey am running into this error, and am not getting where it is coming from exactly. I am having a nav bar with two drop downs which i want to render different menu items.
The first drop-down is working perfectly when i... | https://stackoverflow.com/questions/76498584/react-children-only-expected-to-receive-a-single-react-element-child-after-click | javascript, reactjs, antd | 1,687,046,440 |
se_61651497 | stackoverflow | FRONTEND_DEVELOPMENT | Error: React.Children.only expected to receive a single React element child nesting anchor tag in Link component | Error: React.Children.only expected to receive a single React element child nesting anchor tag in Link component
I'm having a component called Nav inside components directory and it's code is some thing like below:
import Link from 'next/link';
const Nav = () => {
return(
<div>
<Link href="/">... | https://stackoverflow.com/questions/61651497/error-react-children-only-expected-to-receive-a-single-react-element-child-nest | javascript, reactjs | 1,588,833,965 |
se_79888801 | stackoverflow | FRONTEND_DEVELOPMENT | ERR_MODULE_NOT_FOUND when trying to install tanstack | ERR_MODULE_NOT_FOUND when trying to install tanstack
I'm trying to initialize tanstack project by using this command:
pnpm create tanstack@latest
But it shows error like this:
node:internal/modules/esm/resolve:283
throw new ERR_MODULE_NOT_FOUND(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home... | https://stackoverflow.com/questions/79888801/err-module-not-found-when-trying-to-install-tanstack | reactjs, pnpm, tanstack | 1,770,992,753 |
se_79521052 | stackoverflow | FRONTEND_DEVELOPMENT | Does scanFromURLAsync not work in expo52? | Does scanFromURLAsync not work in expo52?
I'm developing a webapp with react native and expo in which I need to be able to scan EAN13 barcodes. I've been using expo's documentation to do this, but I've hit a wall.
As much as I try to get the barcode from a photo, everytime I try to use scanFromURLAsync it throws the f... | https://stackoverflow.com/questions/79521052/does-scanfromurlasync-not-work-in-expo52 | reactjs, react-native, expo, expo-camera, expocameraissue | 1,742,407,888 |
se_34097560 | stackoverflow | FRONTEND_DEVELOPMENT | react.js Replace img src onerror | react.js Replace img src onerror
I have a react component that is the detail view from a list.
I am trying to replace the image with a default image if the image does not exist and there is a 404 error.
I would normally use the onerror method in the img tag but that doesn't seem to be working.
I am not sure how t... | https://stackoverflow.com/questions/34097560/react-js-replace-img-src-onerror | javascript, reactjs, http-status-code-404 | 1,449,263,673 |
se_52428879 | stackoverflow | FRONTEND_DEVELOPMENT | Objects are not valid as a React child. If you meant to render a collection of children, use an array instead | Objects are not valid as a React child. If you meant to render a collection of children, use an array instead
I am setting up a React app with a Rails backend. I am getting the error "Objects are not valid as a React child (found: object with keys {id, name, info, created_at, updated_at}). If you meant to render a col... | https://stackoverflow.com/questions/52428879/objects-are-not-valid-as-a-react-child-if-you-meant-to-render-a-collection-of-c | javascript, arrays, reactjs | 1,537,458,586 |
se_77522290 | stackoverflow | FRONTEND_DEVELOPMENT | React - Objects are not valid as a React child when rendering an array of objects | React - Objects are not valid as a React child when rendering an array of objects
Edit:
I'm encountering an issue in my React project where I'm trying to render an array of objects using the map function, and I'm getting the following Error: Objects are not valid as a React child (found: object with keys {}). If you m... | https://stackoverflow.com/questions/77522290/react-objects-are-not-valid-as-a-react-child-when-rendering-an-array-of-object | reactjs, arrays, object, components, react-props | 1,700,564,770 |
se_79650969 | stackoverflow | FRONTEND_DEVELOPMENT | minimap in react flow doesn't show up nodes and edges | minimap in react flow doesn't show up nodes and edges
I saved nodes and edges in two states that are calculated. The mini map box appears but it's empty, inside it I don't see any nodes. The pan and drag functions are working. I'm using react-flow: ^12.6.2
useEffect(() => {
dashboardOutputService.getDashboardO... | https://stackoverflow.com/questions/79650969/minimap-in-react-flow-doesnt-show-up-nodes-and-edges | reactjs, react-flow | 1,748,942,503 |
se_75536442 | stackoverflow | FRONTEND_DEVELOPMENT | Troubleshooting "Non-Error promise rejection captured with value: Object Not Found Matching Id" in Sentry, from MERN App | Troubleshooting "Non-Error promise rejection captured with value: Object Not Found Matching Id" in Sentry, from MERN App
This is an issue we've had for a while now, although this error has recently been appearing much more frequently for us in Sentry. Clicking into the issue does not give us much more info:
... | https://stackoverflow.com/questions/75536442/troubleshooting-non-error-promise-rejection-captured-with-value-object-not-fou | javascript, reactjs, error-handling, sentry | 1,677,088,415 |
se_71706064 | stackoverflow | FRONTEND_DEVELOPMENT | React 18: Hydration failed because the initial UI does not match what was rendered on the server | React 18: Hydration failed because the initial UI does not match what was rendered on the server
I'm trying to get SSR working in my app, but I get the error:
Hydration failed because the initial UI does not match what was
rendered on the server.
Live demo code is here.
Live demo of problem is here (open dev tools c... | https://stackoverflow.com/questions/71706064/react-18-hydration-failed-because-the-initial-ui-does-not-match-what-was-render | reactjs, next.js | 1,648,811,823 |
se_75919757 | stackoverflow | FRONTEND_DEVELOPMENT | Autofill input in dark mode with Tailwind | Autofill input in dark mode with Tailwind
I had a problem with ugly colour in input after filling it with remembered password using Dark Mode.
In light mode it was yellow, not that bad.
I found some answers using webkit-autofill in SO here, but had problem with implementing it in with tailwind dark: prop and with s... | https://stackoverflow.com/questions/75919757/autofill-input-in-dark-mode-with-tailwind | css, reactjs, sass, tailwind-css, darkmode | 1,680,526,815 |
se_73029615 | stackoverflow | FRONTEND_DEVELOPMENT | Module '"hardhat"' has no exported member 'ethers' | Module '"hardhat"' has no exported member 'ethers'
When I want to import ethers from hardhat it throws the error that I mentioned in the title here is a complete version
- error TS2305: Module '"hardhat"' has no exported member 'ethers'.
2 import { ethers } from "hardhat";
... | https://stackoverflow.com/questions/73029615/module-hardhat-has-no-exported-member-ethers | reactjs, typescript, hardhat | 1,658,186,959 |
se_79887045 | stackoverflow | FRONTEND_DEVELOPMENT | Firebase Firestore App Check and anonymous auth always return null | Firebase Firestore App Check and anonymous auth always return null
I have been working on this project and would like to add app check and auth. When app check and auth is not on the rules, the document is being saved. But when added docref appcheck is null. I am saving data without login via google. I also have appch... | https://stackoverflow.com/questions/79887045/firebase-firestore-app-check-and-anonymous-auth-always-return-null | reactjs, firebase, google-cloud-firestore, firebase-security, firebase-app-check | 1,770,768,436 |
se_79883944 | stackoverflow | FRONTEND_DEVELOPMENT | Why is callback reference not observed in useEffect | Why is callback reference not observed in useEffect
How do I render a div in a component conditionally based on a component property and the get a reference to that div when it's available?
In this simplified example, the message displayed in the div varies depending on which button is pressed first. I understand why ... | https://stackoverflow.com/questions/79883944/why-is-callback-reference-not-observed-in-useeffect | reactjs, react-hooks | 1,770,337,191 |
se_53065293 | stackoverflow | FRONTEND_DEVELOPMENT | How to make image move in a frame infinitely? | How to make image move in a frame infinitely?
I have this right here:
.object {
animation: MoveLeftRight 10s linear infinite;
position: absolute;
top: 0;
right: 0;
}
@keyframes MoveLeftRight {
0%,
100% {
right: 0;
}
50% {
right: 300px;
}
}
<div class="object">
<img src="https://www.dir... | https://stackoverflow.com/questions/53065293/how-to-make-image-move-in-a-frame-infinitely | javascript, html, css | 1,540,905,790 |
se_20617848 | stackoverflow | FRONTEND_DEVELOPMENT | HTML Button Vertical Alignment | HTML Button Vertical Alignment
The following HTML generates buttons that are misaligned, the middle button is higher than the other two because of the wrapped text. How can I get them aligned?
<html>
<head>
<title>Status</title>
<style type="text/css">
.btn {
background-color: red;
font: bold 1... | https://stackoverflow.com/questions/20617848/html-button-vertical-alignment | html, css | 1,387,217,545 |
se_44770074 | stackoverflow | FRONTEND_DEVELOPMENT | CSS Grid Row Height Safari Bug | CSS Grid Row Height Safari Bug
I've made a grid template with rows of 1fr 1fr 1fr. In the middle row, there are a list of inline images.
In Chrome and Firefox, the images respect the height of the grid row and adapt properly. However, in Safari 10.1.2 and Safari TP 31, there appears to be a combination of the imag... | https://stackoverflow.com/questions/44770074/css-grid-row-height-safari-bug | html, css, safari, css-grid | 1,498,519,385 |
se_52236330 | stackoverflow | FRONTEND_DEVELOPMENT | Hide a div element on button click and replace it with another div without using jQuery | Hide a div element on button click and replace it with another div without using jQuery
This is my HTML code. on page load it displays two tab buttons and images under it. On a button click over any tab the images should disappear and the tab content should load. But it is not loading the required div content, simply ... | https://stackoverflow.com/questions/52236330/hide-a-div-element-on-button-click-and-replace-it-with-another-div-without-using | javascript, html, css | 1,536,417,551 |
se_28350495 | stackoverflow | FRONTEND_DEVELOPMENT | Can I build a solid website without using JavaScript? | Can I build a solid website without using JavaScript?
I'm just starting to learn web development and I've been wondering If I can build solid websites using only HTML, CSS and maybe some PHP.
I don't want anything complicated I wanna start simple just to get used to those languages before starting to learn JS because ... | https://stackoverflow.com/questions/28350495/can-i-build-a-solid-website-without-using-javascript | javascript, html, css, build | 1,423,157,829 |
se_52575198 | stackoverflow | FRONTEND_DEVELOPMENT | How do I remove these whitespaces of my site? | How do I remove these whitespaces of my site?
I am making a shop for my server, the shop lets me edit only the CSS, which I am doing, but in the shop there is a giant white space to the right, top and bottom of the screen.
I tried looking for CSS solutions, none of them worked.
How do I fix this?
WEBSITE: http://purge... | https://stackoverflow.com/questions/52575198/how-do-i-remove-these-whitespaces-of-my-site | javascript, html, css | 1,538,288,427 |
se_52533546 | stackoverflow | FRONTEND_DEVELOPMENT | Add overlay image on li | Add overlay image on li
Problem: I am trying to make an overlay appear when a list item is hovered upon.
I am new to html and I am trying to get a division overlay on a list item hover. However the overlay appears in the full width of the screen when I want it only on the list item as class header which is in gray col... | https://stackoverflow.com/questions/52533546/add-overlay-image-on-li | javascript, html, css | 1,538,039,832 |
se_52246935 | stackoverflow | FRONTEND_DEVELOPMENT | Clicking a Button fast bugs JavaScript | Clicking a Button fast bugs JavaScript
var Buttons = new Array();
var AnimEnd = new Array();
var Called = new Array();
function Start () {
Buttons = document.getElementsByClassName("google_button-main");
for (var i = 0; i < Buttons.length; i++)
{
Buttons[i].onmousedown = (e) => {
var ... | https://stackoverflow.com/questions/52246935/clicking-a-button-fast-bugs-javascript | javascript, html, css | 1,536,513,703 |
se_79995386 | stackoverflow | FRONTEND_DEVELOPMENT | How is CSS blur so fast? | How is CSS blur so fast?
I tried to make my own real-time Gaussian blur or box blur in a game, but no matter how i implemented it, applying blur to 2D sprites in runtime made the game too slow to be viable.
So i tried how fast Gaussian blur filter is in GIMP, and it took about 3 seconds to apply a 60px radius blur to ... | https://stackoverflow.com/questions/79995386/how-is-css-blur-so-fast | css, gaussianblur | 1,786,809,502 |
se_52205038 | stackoverflow | FRONTEND_DEVELOPMENT | CSS/ cut an img's width when reducing the screen/window width | CSS/ cut an img's width when reducing the screen/window width
I wanted to have an Image on 100% width, with a max-height. When scaling the window and you're reaching the max-height, the width should still be at a 100% but "cropping" the image bigger (provided image size is fitting). This means you can see more of ... | https://stackoverflow.com/questions/52205038/css-cut-an-imgs-width-when-reducing-the-screen-window-width | javascript, html, css | 1,536,239,917 |
se_79995356 | stackoverflow | FRONTEND_DEVELOPMENT | Controlling the div's position upon zoom in | Controlling the div's position upon zoom in
How do you move the div to the upper left when the user zooms in? I am currently working on the responsive designs in CSS and this design part is so difficult for me.
See the underlined area in the picture:
The website I am copying this behaviour from is this one.
See i... | https://stackoverflow.com/questions/79995356/controlling-the-divs-position-upon-zoom-in | html, jquery, css, flexbox | 1,786,799,483 |
se_68161727 | stackoverflow | FRONTEND_DEVELOPMENT | Convert Tailwind CSS classes to CSS inline style | Convert Tailwind CSS classes to CSS inline style
I'm struggling with the conversion from a React app to a react-native app. In this React app I used Tailwind CSS to stylize components thus I need to convert Tailwind CSS classes to inline CSS so that I can convert it to react native stylesheet using a tool online.
Is t... | https://stackoverflow.com/questions/68161727/convert-tailwind-css-classes-to-css-inline-style | css, reactjs, react-native, tailwind-css | 1,624,875,935 |
se_16706225 | stackoverflow | FRONTEND_DEVELOPMENT | Background-image not working for css id but for css body | Background-image not working for css id but for css body
In the .css File, when I apply
body {
font-size: .85em;
font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
color: #232323;
background-color: #fff;
background: url('Images/Login_Background.jpg');
background-repeat: no-repeat;
bac... | https://stackoverflow.com/questions/16706225/background-image-not-working-for-css-id-but-for-css-body | html, css, background-image, relative-path | 1,369,286,878 |
se_52055434 | stackoverflow | FRONTEND_DEVELOPMENT | How to wrap the XML data in table of a HTML? | How to wrap the XML data in table of a HTML?
I have an HTML template where I need to display XML with tags inside th of a table. I tried the table-layout:fixed;word-wrap:break-word;width:100% for table tag, but it was dividing the table equally and text in th were not coming to new line as shown in below image.
sample... | https://stackoverflow.com/questions/52055434/how-to-wrap-the-xml-data-in-table-of-a-html | javascript, html, css | 1,535,451,354 |
se_51968667 | stackoverflow | FRONTEND_DEVELOPMENT | Simple Basketball Motion JavaScript | Simple Basketball Motion JavaScript
What happens: When I press space button the ball moves up and stops; when press again the ball moves down.
What I need: When I press space button the ball should move up then move down!
I want to some how repeat this function twice with one click ... Its looks simple; I tried to l... | https://stackoverflow.com/questions/51968667/simple-basketball-motion-javascript | javascript, html, css | 1,534,946,631 |
se_51848511 | stackoverflow | FRONTEND_DEVELOPMENT | JavaScript to draw particles on cursor position sends the particles to the bottom | JavaScript to draw particles on cursor position sends the particles to the bottom
I'm trying to use a JavaScript I downloaded from https://github.com/tholman/90s-cursor-effects
It creates a bubble particles effects on the position of the cursor, but when I add some <section> or <div> elements inside my <body> tag, all... | https://stackoverflow.com/questions/51848511/javascript-to-draw-particles-on-cursor-position-sends-the-particles-to-the-botto | javascript, html, css | 1,534,274,774 |
se_51734719 | stackoverflow | FRONTEND_DEVELOPMENT | How do I make a page stick to screen when scrolling in and out? | How do I make a page stick to screen when scrolling in and out?
The title sounds really stupid, and its hard to explain with such small characters, so here we go.
I want the whole website to resize its self once the user zooms out or just has a smaller screen resolution. Its hard to explain, but you can check an examp... | https://stackoverflow.com/questions/51734719/how-do-i-make-a-page-stick-to-screen-when-scrolling-in-and-out | javascript, html, css | 1,533,672,858 |
se_51666269 | stackoverflow | FRONTEND_DEVELOPMENT | How to set zoom default level in Google Maps | How to set zoom default level in Google Maps
Found this free web site online that I want to customize but I can't change the default zoom level as I don't know JavaScript. I would like to know what lines of code I need to add in order to change the zoom level.
I also don't know if I have to include other code/info her... | https://stackoverflow.com/questions/51666269/how-to-set-zoom-default-level-in-google-maps | javascript, html, css, google-maps | 1,533,276,577 |
se_51467734 | stackoverflow | FRONTEND_DEVELOPMENT | Paint JS changing color onclick | Paint JS changing color onclick
I'm trying to make Paint in JS here's the code.
I want to change color of the trail from black to red by clicking on div "red" for example,and I'm out of ideas (without jQuery).
let active = false;
const draw = function(e) {
if (active == false) {
return;
}
const x... | https://stackoverflow.com/questions/51467734/paint-js-changing-color-onclick | javascript, html, css | 1,532,281,398 |
se_51414959 | stackoverflow | FRONTEND_DEVELOPMENT | Uploading/viewing image in web site not working | Uploading/viewing image in web site not working
I am creating a web page where a user can upload an image and show it in the image container immediately. When I am running the file offline that is in my own computer then it is running fine, but when I am uploading it to the server it is not running.
In this web page... | https://stackoverflow.com/questions/51414959/uploading-viewing-image-in-web-site-not-working | javascript, html, css | 1,531,978,109 |
se_32050612 | stackoverflow | FRONTEND_DEVELOPMENT | SVG fill of type linearGradient is not displayed | SVG fill of type linearGradient is not displayed
I hope somebody out there might experienced this strange behaviour of a svg linear gradient fill, which is not displayed resp. applied at all in standard browsers. Other properties as the stroke work as expected, but not the fill! The element seems to be transparent.
I... | https://stackoverflow.com/questions/32050612/svg-fill-of-type-lineargradient-is-not-displayed | jquery, css, svg, datatables | 1,439,815,016 |
se_79990054 | stackoverflow | FRONTEND_DEVELOPMENT | Why does getComputedStyle for a 15px border-width return 14.5455px on 110% page zoom? | Why does getComputedStyle for a 15px border-width return 14.5455px on 110% page zoom?
document.documentElement.innerHTML = '<body style="margin:0;border-top:15px solid black;"></body>'
getComputedStyle(document.body).borderTopWidth
'14.5455px'
document.documentElement.innerHTML = '<body style="margin:0;height:15px"></... | https://stackoverflow.com/questions/79990054/why-does-getcomputedstyle-for-a-15px-border-width-return-14-5455px-on-110-page | html, css | 1,785,750,350 |
se_67349531 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap not equal height on columns | Bootstrap not equal height on columns
I am making a website for an exam and I must make 8 categories of products which must be on two rows with equal height columns.
However, the columns are not equal height when a column has more text than the others. I have tried with this way
.row [class*="col-"] {
margin-bottom:... | https://stackoverflow.com/questions/67349531/bootstrap-not-equal-height-on-columns | html, css, bootstrap-4 | 1,619,892,978 |
se_79993430 | stackoverflow | FRONTEND_DEVELOPMENT | CSS counter-reset inside sibling div doesn't work | CSS counter-reset inside sibling div doesn't work
How to make "list 2" have separate counter? For now "list 2" tracks as inner list of the last item of "list 1".
The problem only exists if "list 2" is wrapped inside div (or table, or any other element).
.list-ol {
counter-reset: itm;
list-style-type: none;
}... | https://stackoverflow.com/questions/79993430/css-counter-reset-inside-sibling-div-doesnt-work | html, css, css-counter | 1,786,523,892 |
se_79995220 | stackoverflow | FRONTEND_DEVELOPMENT | Full Calendar JS does not detect styles | Full Calendar JS does not detect styles
I have a Blazor application (using Interactive Server render mode) and I am trying to implement Full Calendar library adding the CDN documentation recommends, the calendar is shown, however when I add the header tool bar option in the creation of the calendar, the buttons appear... | https://stackoverflow.com/questions/79995220/full-calendar-js-does-not-detect-styles | javascript, css, blazor, fullcalendar, fullcalendar-7 | 1,786,744,927 |
se_13248215 | stackoverflow | FRONTEND_DEVELOPMENT | Overflow hidden doesn't work on firefox | Overflow hidden doesn't work on firefox
Yesterday i check that one highlights products slide that i have in the home of one webpage is not property vertical aligned only on firefox, it works fine on IE and Chrome.
I was searching info and i find a lot of many years ago bugs on FF. I try a few solutions i find but... | https://stackoverflow.com/questions/13248215/overflow-hidden-doesnt-work-on-firefox | css, wordpress, firefox, overflow | 1,352,194,638 |
se_2227437 | stackoverflow | FRONTEND_DEVELOPMENT | What would be the best method to code heading/title for <ul> or <ol>, Like we have <caption> in <table>? | What would be the best method to code heading/title for <ul> or <ol>, Like we have <caption> in <table>?
What would be the best method to code heading/title of <ul> or <ol>? Like we have <caption> in <table>, and we don't want to make them bold.
Is this okay?
<p>heading</p>
<ul>
<li>list it... | https://stackoverflow.com/questions/2227437/what-would-be-the-best-method-to-code-heading-title-for-ul-or-ol-like-we-ha | css, xhtml, accessibility, screen-readers, wcag | 1,265,700,398 |
se_79995136 | stackoverflow | FRONTEND_DEVELOPMENT | Scroll horizontal and vertical with scrollbars outside the content | Scroll horizontal and vertical with scrollbars outside the content
EDIT: it seems the problem comes from firefox using overlay scrollbars that are on the content. Edge using normal scrollbars doesn't.
ORIGINAL:
I'm trying to have scrollable containers with the vertical scrollbar visibly outside the scrolling content.
... | https://stackoverflow.com/questions/79995136/scroll-horizontal-and-vertical-with-scrollbars-outside-the-content | css, scrollbar | 1,786,723,069 |
se_21444096 | stackoverflow | FRONTEND_DEVELOPMENT | How to center text inside anchor tag | How to center text inside anchor tag
I want my anchor tag look like a button, and created this style
.details-button {
background: linear-gradient(to bottom, #FFFFFF 0, #FAB149 2%, #F89406 100%) repeat scroll 0 0 transparent;
border: 1px solid #FAB149;
-ms-border-radius: 3px;
border-radius: 3px;
-webkit-bo... | https://stackoverflow.com/questions/21444096/how-to-center-text-inside-anchor-tag | html, css | 1,391,034,692 |
se_79993945 | stackoverflow | FRONTEND_DEVELOPMENT | How to make an animated menu icon show/hide menu | How to make an animated menu icon show/hide menu
I'm trying to make the animated menu icon open ☰ and close X the menu links. Instead of making two separate buttons, I can just code it in one button.
I've managed to give my menuIcon an onlick openNav() and both a closeNav(). The onlick openNav is working fine, but clo... | https://stackoverflow.com/questions/79993945/how-to-make-an-animated-menu-icon-show-hide-menu | javascript, html, css | 1,786,657,504 |
se_71391863 | stackoverflow | FRONTEND_DEVELOPMENT | QTextEdit placeholder color | QTextEdit placeholder color
here's my problem:
I'm using Qt, I've got two QLineEdits (name, author) and one QTextEdit (description) in my form.
I need to set placeholders for each of them, so i wrote this code:
name->setPlaceholderText("Name");
author->setPlaceholderText("Author");
description-... | https://stackoverflow.com/questions/71391863/qtextedit-placeholder-color | c++, css, qt, qtstylesheets | 1,646,727,441 |
se_22329928 | stackoverflow | FRONTEND_DEVELOPMENT | Scale with fixed border size? | Scale with fixed border size?
Is there any way of keeping border size fixed while scaling an object with CSS?
I have an object with style below
.myObj{
width:100px;
height:100px;
border:1px solid red
}
When I scale this object the border of this object also scales as normal. But how can I keep it at 1px?
... | https://stackoverflow.com/questions/22329928/scale-with-fixed-border-size | javascript, jquery, css | 1,394,551,148 |
se_51330687 | stackoverflow | FRONTEND_DEVELOPMENT | How can I move a <div> continuously at every given time-interval? | How can I move a <div> continuously at every given time-interval?
This is my code:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div id="a">BELLA</div>
<script type="text/javascript">
var myDiv = document.getElementById("a");
var myVar = setInterval(spostaDiv, 1000);
function spostaDiv() {
... | https://stackoverflow.com/questions/51330687/how-can-i-move-a-div-continuously-at-every-given-time-interval | javascript, html, css | 1,531,505,249 |
se_51353967 | stackoverflow | FRONTEND_DEVELOPMENT | How to easily invert text color based on the background color | How to easily invert text color based on the background color
I'm really new to JavaScript and such but I think that's what I've got to revert too. I have this navbar from bootstrap:
<div class="navbar navbar-fixed-top">
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color:mix-blend-mode: differ... | https://stackoverflow.com/questions/51353967/how-to-easily-invert-text-color-based-on-the-background-color | javascript, html, css | 1,531,709,418 |
se_51203268 | stackoverflow | FRONTEND_DEVELOPMENT | How to handle this layout using JavaScript? | How to handle this layout using JavaScript?
I need a solution to handle my layout,
I use the id for the button it is very troublesome.
I think I will create it same many tab, when user click show only a cost of product
.product{
height:300px;
width:200px;
background:#efefef;
float:left;
margin:10px;
}
.pr... | https://stackoverflow.com/questions/51203268/how-to-handle-this-layout-using-javascript | javascript, html, css | 1,530,853,115 |
se_32027816 | stackoverflow | FRONTEND_DEVELOPMENT | transition opacity with delay | transition opacity with delay
I want to fade out an element after 3 seconds. I'm currently using an animation to do this but I've just learned of transition-delay, so I believe I may be able to remove the animation and do it through a transition. Is this possible?
My original code is:
.foo {
animation: fadeOut 3... | https://stackoverflow.com/questions/32027816/transition-opacity-with-delay | css, transition | 1,439,662,543 |
se_79993926 | stackoverflow | FRONTEND_DEVELOPMENT | 2-column flexbox layout without nesting divs | 2-column flexbox layout without nesting divs
I'm trying to control the design of a page where I have no control over the HTML that's output, so my solution needs to be CSS only. The HTML I'm trying to style is basically the following:
<div class="wrapper">
<div class="div1">Content</div>
<div class="div2">Co... | https://stackoverflow.com/questions/79993926/2-column-flexbox-layout-without-nesting-divs | html, css, flexbox | 1,786,651,622 |
se_79993774 | stackoverflow | FRONTEND_DEVELOPMENT | Hover on a heading and change background image | Hover on a heading and change background image
This was deemed a duplicate to this question "Is there a CSS parent selector?" which is nothing like it, so please reopen my question.
I need to create an effect where I have a background image on a web page with several headings (can be p tags) above and below the image ... | https://stackoverflow.com/questions/79993774/hover-on-a-heading-and-change-background-image | html, css, hover | 1,786,616,637 |
se_75185272 | stackoverflow | FRONTEND_DEVELOPMENT | Prevent page breaks in puppeteer pdf | Prevent page breaks in puppeteer pdf
I have html like
<table>
<tbody></tbody>
</table>
This template is getting converting to PDF with puppeteer where my tabular data is splitting across two pages however i dont want tabular data to split across the pages
I have tried all the solutions of SO for this issue https://gi... | https://stackoverflow.com/questions/75185272/prevent-page-breaks-in-puppeteer-pdf | html, css, node.js, puppeteer, page-break-inside | 1,674,224,418 |
se_79551743 | stackoverflow | FRONTEND_DEVELOPMENT | Why is my nested <DIV> CSS getting overiden by the outer <DIV> CSS? | Why is my nested <DIV> CSS getting overiden by the outer <DIV> CSS?
I have a row of square tiles (event-tile) line dup across the bottom of the screen. These tiles are nested inside a container (.contentContainerBottom) running across the bottom of the screen. Each tile has key information, Start and End t... | https://stackoverflow.com/questions/79551743/why-is-my-nested-div-css-getting-overiden-by-the-outer-div-css | html, css | 1,743,636,738 |
se_57815278 | stackoverflow | FRONTEND_DEVELOPMENT | SCSS Theming with Dynamic Variables | SCSS Theming with Dynamic Variables
I'm currently working on a theming feature for a CSS Framework and have run into some issues that I'm hoping you might be able to help out with.
I have created a SASS Map called $themes, which contains colors for different themes. I copy-pasted some code from a medium article(who d... | https://stackoverflow.com/questions/57815278/scss-theming-with-dynamic-variables | html, css, sass, themes, scss-mixins | 1,567,739,972 |
se_77977503 | stackoverflow | FRONTEND_DEVELOPMENT | Why are my Bootstrap table rows 1px smaller than the table element? | Why are my Bootstrap table rows 1px smaller than the table element?
I am working on a html page to display a bill of materials in a bootstrap table using sub tables.
Because a position can have a bom itself I want so display these kind of sub bom in a expandable sub table. Works fine except that the column's borders a... | https://stackoverflow.com/questions/77977503/why-are-my-bootstrap-table-rows-1px-smaller-than-the-table-element | html, css, twitter-bootstrap | 1,707,669,154 |
se_79993892 | stackoverflow | FRONTEND_DEVELOPMENT | I have a popover div with a custom element inside. The custom element is not displayed within the div. Why would it be offset | I have a popover div with a custom element inside. The custom element is not displayed within the div. Why would it be offset
I am experimenting with popovers. I have a popover div like the following
<div id="datepicker" popover>
<pas-date-picker ?hastime=${this.hastime}></pas-date-picker>
</div>
relevant css
#dat... | https://stackoverflow.com/questions/79993892/i-have-a-popover-div-with-a-custom-element-inside-the-custom-element-is-not-dis | css, popover, lit | 1,786,642,099 |
se_71226652 | stackoverflow | FRONTEND_DEVELOPMENT | When applied to text what is the difference between filter: drop-shadow and text-shadow? | When applied to text what is the difference between filter: drop-shadow and text-shadow?
It seems that when filter: drop-shadow is applied to text it does almost the same thing as text-shadow, however I noticed that if I supply the same values it looks slightly different, text-shadow appears to make more clearly defin... | https://stackoverflow.com/questions/71226652/when-applied-to-text-what-is-the-difference-between-filter-drop-shadow-and-text | css | 1,645,555,063 |
se_16230705 | stackoverflow | FRONTEND_DEVELOPMENT | Centering Embedded Content | Centering Embedded Content
I am relatively new to web development and my school has asked me to create a webpage that will host the school's webshow and I am having trouble centering the embedded video.
I tried adding an inline style margin-left: auto; margin-right: auto; to the embed code but that is not centering it... | https://stackoverflow.com/questions/16230705/centering-embedded-content | html, css, embed, styling | 1,366,960,394 |
se_79993802 | stackoverflow | FRONTEND_DEVELOPMENT | Is it possible to reference an xml:id attribute in a CSS selector? | Is it possible to reference an xml:id attribute in a CSS selector?
I am formatting XML with CSS but I need to add a suffix to an element which has a specific xml:id, for example using the XML document foo.xml
<?xml-stylesheet href="foo.css"?>
<foo xml:id="bar">stuff</foo>
and the CSS document foo.css
foo[xml:id='bar'... | https://stackoverflow.com/questions/79993802/is-it-possible-to-reference-an-xmlid-attribute-in-a-css-selector | css, xml, selector | 1,786,622,676 |
se_71377726 | stackoverflow | FRONTEND_DEVELOPMENT | How to add auto page break and footer per page in jsPDF? | How to add auto page break and footer per page in jsPDF?
How to add page break automatically when the page will be printed, I use jspdf plugin in vuejs 2, is it possible to add page break using those plugins?
Currently, the 2nd div appears broken in the exported file hence I would like to have the div and footer will ... | https://stackoverflow.com/questions/71377726/how-to-add-auto-page-break-and-footer-per-page-in-jspdf | javascript, css, vue.js, vuetify.js, jspdf | 1,646,638,545 |
se_50710529 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a button that switches between two colours? | How to make a button that switches between two colours?
This JavaScript will only change the colour one way. How could I make it so only the one button can be dark/selected at a time depending which button you select?
this is for a small log-in window on my site, and I'm trying to make it switch between two tabs/menu... | https://stackoverflow.com/questions/50710529/how-to-make-a-button-that-switches-between-two-colours | javascript, html, css | 1,528,243,364 |
se_45402253 | stackoverflow | FRONTEND_DEVELOPMENT | Modal Bootstrap / Multiple modal on one-page / modal-open Class | Modal Bootstrap / Multiple modal on one-page / modal-open Class
I've got a serious issue with modal from Bootstrap.
When I open a modal box in my website, there's absolutly no problem (the modal-open class is correctly added on the body) the modal is correct, shade ok and content clear :
<button type="button" data-tog... | https://stackoverflow.com/questions/45402253/modal-bootstrap-multiple-modal-on-one-page-modal-open-class | javascript, html, css, twitter-bootstrap, bootstrap-modal | 1,501,433,017 |
se_33999836 | stackoverflow | FRONTEND_DEVELOPMENT | Hide text, leave icon elements | Hide text, leave icon elements
I have a pretty big site now, and it would be time-consuming to change the codes of all of the buttons, so I am wondering if CSS could do something for me with no HTML code change.
Every page has an action bar with some buttons, which all consist of an icon and text. Something like thi... | https://stackoverflow.com/questions/33999836/hide-text-leave-icon-elements | css | 1,448,890,313 |
se_70899604 | stackoverflow | FRONTEND_DEVELOPMENT | SWC with JavaScript: How to handle CSS imports and how to absolute imports? | SWC with JavaScript: How to handle CSS imports and how to absolute imports?
Summary
How can you tell SWC to compile CSS files imported in React components?
How can you tell SWC to compile absolute imports in tests and in React components?
Here is a minimal reproducible example.
Context
We're migrating from Babel to... | https://stackoverflow.com/questions/70899604/swc-with-javascript-how-to-handle-css-imports-and-how-to-absolute-imports | javascript, css, reactjs, absolute-path, swc-compiler | 1,643,399,914 |
se_49432591 | stackoverflow | FRONTEND_DEVELOPMENT | Can VS Code automatically update instances of class names in HTML files after they are changed in a CSS file? | Can VS Code automatically update instances of class names in HTML files after they are changed in a CSS file?
I am using Visual Studio Code, is it possible to change a class name for instance only in the CSS file and this change is also applied in the HTML document? or vice verse, changing the class name in HTML and s... | https://stackoverflow.com/questions/49432591/can-vs-code-automatically-update-instances-of-class-names-in-html-files-after-th | html, css, visual-studio-code | 1,521,732,567 |
se_50610024 | stackoverflow | FRONTEND_DEVELOPMENT | How to write a general height-altering JavaScript function | How to write a general height-altering JavaScript function
You can write something like
function changeHeight() {
document.getElementById('chartdiv').style.height = "200px"
}
#chartdiv {
height: 50px;
width: 300px;
border: 1px solid #F00;
}
<div id="chartdiv"></div>
<button type="button" onClick="changeHeigh... | https://stackoverflow.com/questions/50610024/how-to-write-a-general-height-altering-javascript-function | javascript, html, css | 1,527,699,741 |
se_79993498 | stackoverflow | FRONTEND_DEVELOPMENT | Why does a flex item overflow its container when using min-width: 100%? | Why does a flex item overflow its container when using min-width: 100%?
I am trying to create a responsive two-column layout using CSS Flexbox. The right column contains long text, and on smaller screen sizes it sometimes causes horizontal overflow instead of shrinking to fit the available space.
Here is a minimal exa... | https://stackoverflow.com/questions/79993498/why-does-a-flex-item-overflow-its-container-when-using-min-width-100 | css, flexbox | 1,786,537,658 |
se_71850634 | stackoverflow | FRONTEND_DEVELOPMENT | SassError: @use rules must be written before any other rules | SassError: @use rules must be written before any other rules
The error content:
Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js): | https://stackoverflow.com/questions/71850634/sasserror-use-rules-must-be-written-before-any-other-rules | css, angular, typescript, sass, postcss | 1,649,811,126 |
se_31046966 | stackoverflow | FRONTEND_DEVELOPMENT | Using CSS { white-space: nowrap } with Outlook | Using CSS { white-space: nowrap } with Outlook
I currently have a report with lots of wide columns that I am emailing directly out of SQL. I am generating the HTML for it dynamically but have come across an issue with column widths.
I have inserted the following CSS:
#tableMain
TH {
text-align: center;
whi... | https://stackoverflow.com/questions/31046966/using-css-white-space-nowrap-with-outlook | html, css, email, outlook | 1,435,226,089 |
se_37287148 | stackoverflow | FRONTEND_DEVELOPMENT | iOS Safari/Chrome - Unwanted scrolling when focusing an input inside the modal | iOS Safari/Chrome - Unwanted scrolling when focusing an input inside the modal
Tested in Safari and Chrome - the same result, so I think it's iOS issue.
This happens only if there's an input inside the modal and I tap that input. In the same moment that input got focus and native iOS keyboard become visible.
Page b... | https://stackoverflow.com/questions/37287148/ios-safari-chrome-unwanted-scrolling-when-focusing-an-input-inside-the-modal | javascript, html, ios, css, vertical-scrolling | 1,463,523,616 |
se_50876591 | stackoverflow | FRONTEND_DEVELOPMENT | External link Alternative for JS | External link Alternative for JS
I'm trying to create an external link for a JavaScript program I created and I tried using https://www.000webhost.com but they blocked me, so pleases is there any better way I can do this, plus am still a learner in programming,
Here is the code I created and I want it to be linked:
do... | https://stackoverflow.com/questions/50876591/external-link-alternative-for-js | javascript, html, css | 1,529,069,292 |
se_50565796 | stackoverflow | FRONTEND_DEVELOPMENT | How can I center this HTML/CSS slideshow? | How can I center this HTML/CSS slideshow?
I'm trying to center the JavaScript slideshow and "Slideshow header" that you can see in image left. Below you can see what my web site looks like on the left and on the right is how I want to center my slideshow.
I tried adding text-align: center; to my CSS but nothing chang... | https://stackoverflow.com/questions/50565796/how-can-i-center-this-html-css-slideshow | javascript, html, css | 1,527,508,307 |
se_50375416 | stackoverflow | FRONTEND_DEVELOPMENT | Blurring background in only a select area (behind text) | Blurring background in only a select area (behind text)
I'm creating a homepage using HTML/CSS/JavaScript, on this page I have text floating on the top left portion of the screen. I have a number of backgrounds saved from Reddit and a script which randomly selects one upon start, my problem is that because this backgr... | https://stackoverflow.com/questions/50375416/blurring-background-in-only-a-select-area-behind-text | javascript, html, css | 1,526,486,567 |
se_50195177 | stackoverflow | FRONTEND_DEVELOPMENT | Is there a way to change the CSS of someone's website every time you go to the page? | Is there a way to change the CSS of someone's website every time you go to the page?
I'm new, so I apologize if this is a dumb question but I'm wondering if there's a way to edit the CSS of a web site every time you go to automatically.
Many kids in my programming class find the dark theme on their eyes to be easi... | https://stackoverflow.com/questions/50195177/is-there-a-way-to-change-the-css-of-someones-website-every-time-you-go-to-the-p | javascript, html, css | 1,525,566,118 |
se_56778833 | stackoverflow | FRONTEND_DEVELOPMENT | Can CSS scale a set of images to fit together (like Google Photos)? | Can CSS scale a set of images to fit together (like Google Photos)?
Google Photos takes images of various sizes and scales them so that the images in each row have the same height and each row completely fills the width of the window.
For instance:
If the window is narrower, it rearranges them accordingly:
I co... | https://stackoverflow.com/questions/56778833/can-css-scale-a-set-of-images-to-fit-together-like-google-photos | html, css, image, alignment | 1,561,572,875 |
se_76069524 | stackoverflow | FRONTEND_DEVELOPMENT | How do you make concave borders in HTML/CSS like this example? | How do you make concave borders in HTML/CSS like this example?
Here is an example graphic from mode.com, made using normal divs in a flexbox arrangement.
How does this happen?
By looking at the page source, I can see there are four elements in play in a row-based flexbox; the middle element in the flex includes an up... | https://stackoverflow.com/questions/76069524/how-do-you-make-concave-borders-in-html-css-like-this-example | html, css, user-interface | 1,682,044,866 |
se_49211914 | stackoverflow | FRONTEND_DEVELOPMENT | Need an Alert or Pop up or something before going to an Adult section of website | Need an Alert or Pop up or something before going to an Adult section of website
I had found online at one time how to do this I think with javascript and that it had the page Faded out until someone clicked Yes or No and if you clicked no it took you back to the front of the site and if you clicked yes it unfaded the... | https://stackoverflow.com/questions/49211914/need-an-alert-or-pop-up-or-something-before-going-to-an-adult-section-of-website | javascript, html, css | 1,520,702,682 |
se_12088508 | stackoverflow | FRONTEND_DEVELOPMENT | How to overlap table rows? | How to overlap table rows?
Is it possible to make the table rows to overlap each other, using only css and html?
Please help. The page is here, when the user choose conditional leave, they will prompt with different additional field(s) to fill up. But I just want to know if rows can be set to overlap so the table wil... | https://stackoverflow.com/questions/12088508/how-to-overlap-table-rows | html, css | 1,345,713,626 |
se_9218574 | stackoverflow | FRONTEND_DEVELOPMENT | Get rid of magnifying glass in iOS web app | Get rid of magnifying glass in iOS web app
I am currently exploring web apps for iOS devices and use PhoneGap to create a "native" application out of it. The problem I have with this is the magnifying glass, that I don't want to be shown when selecting paragraphs (or bit of text). I have tried a lot of solutions but n... | https://stackoverflow.com/questions/9218574/get-rid-of-magnifying-glass-in-ios-web-app | css, ios, html, web-applications | 1,328,820,713 |
se_45459590 | stackoverflow | FRONTEND_DEVELOPMENT | CSS SVG+XML - how to edit? | CSS SVG+XML - how to edit?
How can I edit a xml svg with a visual tool? Any online tools out there?
I have this svg in xml format that I copied it from somewhere:
data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L... | https://stackoverflow.com/questions/45459590/css-svgxml-how-to-edit | css, xml, svg | 1,501,673,269 |
se_78220249 | stackoverflow | FRONTEND_DEVELOPMENT | Tailwind Merge with Colors on Text and Text Shadows | Tailwind Merge with Colors on Text and Text Shadows
No Longer an Issue
Tailwind v4 introduced the text-shadow utility class, so this question is no longer relevant, unless working on outdated software. Just migrate to v4 and your life will be easier.
tl;dr I have a text-shadow utility class in my tailwind.config.ts t... | https://stackoverflow.com/questions/78220249/tailwind-merge-with-colors-on-text-and-text-shadows | javascript, css, reactjs, next.js, tailwind-css | 1,711,381,480 |
se_15823983 | stackoverflow | FRONTEND_DEVELOPMENT | How do I put hint in a asp:textbox | How do I put hint in a asp:textbox
How do I put a hint/placeholder inside a asp:TextBox? When I say a hint I mean some text which disappears when the user clicks on it. Is there a way to achieve the same using html / css? | https://stackoverflow.com/questions/15823983/how-do-i-put-hint-in-a-asptextbox | asp.net, css, html, placeholder, hint | 1,365,121,557 |
se_23547691 | stackoverflow | FRONTEND_DEVELOPMENT | Two legends in a fieldset | Two legends in a fieldset
You can't have two legends for a given fieldset, but is there a way to get a legend effect without using the <legend> tag?
<!-- left legend -->
<fieldset>
<legend>
Some Text
</legend>
</fieldset>
I can add align=right to the legend tag to make it on the right-hand side, but... | https://stackoverflow.com/questions/23547691/two-legends-in-a-fieldset | html, css, forms, legend | 1,399,567,267 |
se_47848218 | stackoverflow | FRONTEND_DEVELOPMENT | How to place dots when looping through an array in JavaScript | How to place dots when looping through an array in JavaScript
I need to load an array from a JSON file, and place dots where they placed last time after they click save, this code wont work, any thoughts? Essentially, they can click, and dots will appear, as well as text from the drop down menu, I want it so they can ... | https://stackoverflow.com/questions/47848218/how-to-place-dots-when-looping-through-an-array-in-javascript | javascript, html, css | 1,513,445,040 |
se_49958538 | stackoverflow | FRONTEND_DEVELOPMENT | Using eval() in JavaScript | Using eval() in JavaScript
I have made a calculator using html CSS Javascript, I came through so many input problems, so to calculate the result ( '=' ) I used the function eval(), I want to know what does it return exactly and how to spot errors and fix them, for example : typing ***/+6 and clicking on the '=', will ... | https://stackoverflow.com/questions/49958538/using-eval-in-javascript | javascript, html, css | 1,524,332,635 |
se_48883554 | stackoverflow | FRONTEND_DEVELOPMENT | postion:absolute and left:0 not putting ul at left | postion:absolute and left:0 not putting ul at left
This is my html. I just want my dropdown to move to the left of the screen. I have used inline style to set position absolute and left:0 but its not working. Please help me so I can move on and learn more.
I have used bootstrap to make this navigation bar and tried u... | https://stackoverflow.com/questions/48883554/postionabsolute-and-left0-not-putting-ul-at-left | javascript, html, css | 1,519,123,923 |
se_49178711 | stackoverflow | FRONTEND_DEVELOPMENT | Right progress bar max/min values | Right progress bar max/min values
I got an problem with <progress> tag, it makes the progress bar right, but I can't calculate right values to make that display from start to the end of bar. e.g.: that a game. I got 2431375 EXP, to next level I need 2438402 EXP. EXP never resets to zero, that mean if I reached new lev... | https://stackoverflow.com/questions/49178711/right-progress-bar-max-min-values | javascript, html, css | 1,520,528,942 |
se_49473678 | stackoverflow | FRONTEND_DEVELOPMENT | Accessing device camera using JavaScript | Accessing device camera using JavaScript
I want to access my device camera using JavaScript, but this code only works in Firefox and that too on desktop. I want to access my camera on other browsers as well as mobile devices.
function start()
{
var video = document.getElementById('video'),
vendorUrl = window.URL;... | https://stackoverflow.com/questions/49473678/accessing-device-camera-using-javascript | javascript, html, css | 1,521,964,781 |
se_3084261 | stackoverflow | FRONTEND_DEVELOPMENT | Alternate table row color using CSS? | Alternate table row color using CSS?
I am using a table with alternate row color with this.
tr.d0 td {
background-color: #CC9999;
color: black;
}
tr.d1 td {
background-color: #9999CC;
color: black;
}
<table>
<tr class="d0">
<td>One</td>
<td>one</td>
</tr>
<tr class="d1">
<t... | https://stackoverflow.com/questions/3084261/alternate-table-row-color-using-css | html, css, html-table | 1,277,120,085 |
se_68637306 | stackoverflow | FRONTEND_DEVELOPMENT | CSS: Format of font-family | CSS: Format of font-family
Can anyone please tell me what does the below font family means?
Font-Family: "Segoe UI","Segoe",Tahoma,Helvetica,Arial,sans-serif; | https://stackoverflow.com/questions/68637306/css-format-of-font-family | css | 1,627,998,710 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.