css Questions

4

I want to adjust my textarea height dynamically with Refs and pass it to the state but it don't work correctly. I created a codesandbox to help you to understand what exactly I want. https://code...
Buffybuford asked 28/2, 2019 at 1:42

2

I know I used the word select a lot there... sorry. Anyway, I am looking for a CSS Selector that I can use to identify HTML Select elements on a page that do not have a selection made yet so that ...
Edmondo asked 11/7, 2013 at 15:30

4

I have a requirement for wrap text using comma(,). Is there any way to do this using CSS or other. Nomal A1, High A2(4), Low A3 If the space is not enough this should be wrap like this, comma s...
Enneagon asked 8/11, 2012 at 14:50

3

Here is my chart creation createChart = function (name, contributions, idArray) { globalIdArray = idArray; var ctx = document.getElementById("myChart"); var myChart = new Chart(ctx, { type: "b...
Marketplace asked 3/2, 2017 at 15:52

3

Solved

I have a component that has dynamic class names based on the state of the component. The initial state of the menu component is false so an exit animation triggers when I load the site. I'm trying ...
Detoxicate asked 29/8, 2020 at 17:18

3

Solved

In React, Autocomplete Chrome values don't trigger onChange event immediately. Thus it causes a collision of MUI TextField Label and actual values, during initial loading of page. How can I resolve...
Piane asked 3/8, 2023 at 18:26

3

Solved

How to make modal without javascript code with just html and css? I have a project that I can't use javascript and I need modal. <!DOCTYPE html> <html> <title>W3.CSS</title&g...
Schaerbeek asked 25/2, 2019 at 18:0

3

Solved

I have a Blazor server app with a client project. In the client project, I have a bunch of pages and components. Adding a file with the same name as the razor page with the CSS extension worked so ...
Conti asked 5/10, 2022 at 13:26

4

Solved

How can the clamp() CSS function be used with TailwindCSS to make the fontSize linearly scale between a min and a max value? Interested in particular about integrating with Next.js.
Coccid asked 26/4, 2023 at 17:58

3

I am working with Vue.js and try to place some SVG Icons I made in Illustrator for my Webapp. I loaded the icons with Webpacks "require". It is not possible to access the svg's with their source (s...
Milksop asked 7/8, 2018 at 11:13

3

Solved

I want when the user scrolls from the bottom to the top of a div to load more items into that div to the top part of the div and I want to maintain the scroll position (or rather make sure the top ...
Terrorize asked 24/6, 2020 at 16:39

2

Solved

When you send a link via text, facebook message, or any mainstream messaging client you'll notice it generates a "rich preview". This is basically an image that pops up of the website you are linki...
Twodimensional asked 13/2, 2018 at 3:28

2

I'm using the following HTML, CSS and Javascript to disguise a video player as an audio player. It works perfectly in Firefox but in Chrome pressing the play button does not actually play anything....
Mischievous asked 25/9 at 6:5

4

Solved

I'm trying to edit the cssText property of a cssRule. I've seen it done often: Why does altering the height in cssText remove the background: none? Relocate my images at startup Usually its don...
Mcintosh asked 5/9, 2013 at 17:59

3

Solved

My use case is probably a bit unique, but I am creating a dynamically-sized square grid using DOM elements encased in a flexbox. Each DOM element has an SVG image background and a height/width equa...
Fertilizer asked 18/5, 2017 at 6:28

3

I understand how to zoom a small canvas to make a big canvas with chunky, rather than blurry, pixels. Is there any way to make a whole webpage display with chunky 2x2 or 3x3 pixels? i.e. magnify it...
Strengthen asked 14/3, 2021 at 12:47

7

Solved

So I have a simple script that adds "li" elements to the "ul" and assigns them a class. Now I want to change the class of "li" item on click event. Here is the HTML: <form class="form"> &lt...
Cristacristabel asked 8/2, 2017 at 11:27

5

Solved

I know, there are similar questions on SO, but the answers didn't seem to work for me. My table has got a cell that fills multiple rows, and I want the textarea to fill the whole cell. The code tha...
Standfast asked 15/2, 2017 at 21:34

5

Solved

I am a rookie for front-end development. Recently, I wrote codes like: <div style="background-color:red"> <img src='https://www.logaster.com/blog/wp-content/uploads/2013/06/jpg.png'...
Waterfront asked 29/6, 2016 at 6:6

3

Solved

I have an app that is full-screen <div class="h-screen flex flex-col"> <div> Header </div> <div class="flex-1 overflow-y-auto"> Main </div> ...
Cantilena asked 3/11, 2023 at 19:12

1

I am building an application using react and material-ui. Material-ui components comes with its custom classical blue-grey google style colors and I want to modify all of them with my custom ones. ...
Ira asked 26/4, 2022 at 16:25

2

I need to print multiple pages and footer needs to be print in last page bottom. I have add css for footer like this footer { display: block; width:100%; position:absolute; left:0; bottom:0p...
Manoeuvre asked 23/4, 2014 at 10:48

3

I am using :empty and :blank. They work fine, but I have a case where AngularJS is injecting comments inside a div, and those will not work anymore. Is there something I can do to make :empty and :...
Roth asked 11/9, 2016 at 10:25

4

Solved

I'm using Flowbite (both JS and CSS) in my application. JS was inserted and works (using Webpack and import 'flowbite' in the entry point JS). For the CSS, I'm using this in the tailwind.config.js ...
Aracelyaraceous asked 21/2, 2022 at 17:5

2

Solved

I am trying to set Antd Modal height to 1000px by default but its not getting applied. Please suggest where I might be doing wrong. Below is my code for the Modal. <Modal style={{ height: "...
Gothicism asked 18/2, 2021 at 22:25

© 2022 - 2024 — McMap. All rights reserved.