What is the method to make the text appear on the right in all blocks at once during the transition?
Stack Overflow | css
by Tobias Rieper
3h ago
It is necessary that when you hover the mouse cursor over the left vertical block, the width of the block increases. There are 5 more blocks inside the parent block. There are pictures inside these blocks themselves. It is necessary that when the cursor hovers over the parent block, text is displayed to the right of the images. I managed to achieve an increase in the width of the parent block when hovering the cursor. The pseudo Hover class helped me with this. I have absolutely no idea how you can make text appear to the right of images when you hover the cursor. Where and how should this be ..read more
Visit website
Librsvg rsvg_handle_get_dimensions get pixel size is not different with render size in browser
Stack Overflow | css
by xxpp123zz
3h ago
librsvg verions is 2.40.20 I want to convert .svg file to .png file, so I write some codes. the generated function is very simple. int svg_file2png_file(char* svg_path, char* png_path) { GError* error = NULL; RsvgHandle* handle = rsvg_handle_new_from_file(svg_path, &error); if (error) { printf("error\n"); return -1; } if (handle == NULL) { printf("rsvg_handle_new_from_data return NULL\n"); return -1; } RsvgDimensionData dimension = { 0 }; rsvg_handle_get_dimensions(handle, &dimension); cairo_surface_t* surface ..read more
Visit website
Using materials for mkdocs, and generate PDF. The SVG rendering loses in PDF
Stack Overflow | css
by 黄凤仙
3h ago
On the website, SVG can be rendered normally, but in pdf, css rendering loses. Configurations in materials for mkdocs: plugins: - with-pdf: cover_subtitle: test cover: true back_cover: true copyright: Copyright © Abby.huang - All rights reserved. # cover_logo: 'https://cloud-cdn.nebula-graph.com.cn/nebula-for-pdf.png' output_path: pdf/abby.pdf With-pdf uses weasyprint to generate pdf for materials for mkdocs. And it seems like that WeasyPrint does not render CSS normally when CSS or HTML comming from untrusted users. How can I solve it ..read more
Visit website
Stylelint not automatically fixing content as expected
Stack Overflow | css
by Daniel Tate
3h ago
I am trying to use the stylelint tool to automatically fix some css. I read through their docs and am using the CLI tool instead of with a traditional setup. I installed the tool using npm npm install -g stylelint stylelint-config-standard-scss Then I created a config based on their docs stylelint.config.mjs /** @type {import('stylelint').Config} */ export default { extends: "stylelint-config-standard-scss", rules: { "block-no-empty": true, } }; I then created a sample css file 01.css .selector { display: block; invalid: property; } Based on the default rules ..read more
Visit website
Placing noUiSliders beside each other
Stack Overflow | css
by pickle
3h ago
I am trying to place 2 noUiSliders to the right of 3 other sliders since having multiple sliders takes up too much vertical space. My HTML page has 4 main tabs, and this all within a single tab, where I have one main collapsible header (Filters), which has further collapsible headers based on the type of filter ( Filters -> Phenotypic Data Filters) I have 5 sliders in the Phenotypic Data Filters header which has an additional div called .slidercontainer because I wanted to restrict the width of the slider. Additionally each input header is linked to the Help tab which is what the href and o ..read more
Visit website
TailwindCSS - "overflow-auto" works when container has "h-1/2" but not "h-full"?
Stack Overflow | css
by mospira
3h ago
I'm working on the following AppSidebar() component using TailwindCSS. export const AppSidebar = () => { return ( <div className=" text-gray-50 bg-black rounded-lg flex flex-col max-w-249 h-full"> <div className="mt-3 flex flex-col overflow-auto"> <TickerCard /> <TickerCard /> <TickerCard /> <TickerCard /> <TickerCard /> <TickerCard /> <TickerCard /> <TickerCard /> ..read more
Visit website
Onclick event not working in datatable1.10 after html gets altered via responsive mode [duplicate]
Stack Overflow | css
by made_it_ma
3h ago
I'm using datatables 1.10 with responsive mode. There is a button in each row that i've added an onclick even for in the document.ready() function. However when the screen width gets smaller and the datatable goes into responsive mode, the onclick no longer works. Any help would be greatly appreciated. This is my onclick event: $('a[href="#"]').click(function () {} This is the table row before the responsive css alters it (onclick event works): <tr > <td > <a href="#" id="61" >Review</a> </td> <tr> This is the table row after the responsi ..read more
Visit website
Can't remove underline and purple font on header hyperlink
Stack Overflow | css
by Simon Norgrove
3h ago
I am very new to programming, especially with html/css. Any tips are welcome. I am trying to add a hyperlink to the header on each page of my website. The issue I am facing is when I turn the header into a hyperlink using <a href ""> I no longer am able to style the header. Interestingly the font style and size remains the same but it is underlined and becomes purple when it has been previously clicked. I tried using a div class ="header" instead of just using and then styling class header but still doesn't seem to work. Tried adding Important! after the text-decoration = none: I'm sure ..read more
Visit website
HTML banner not correctly aligning towards the top of the page
Stack Overflow | css
by GP22248
3h ago
The code will always keep the div just under the top of the page, while not effecting the actual top. The div is the first of the page. (IDE: VS Code, Debug browser: MS Edge) What I tried: Adding tags: Didn't change anything Removing margin + padding: Made it a null in the browser, still didn't change anything Translate/transform: Ruins crossplatform compatibility html, body { margin: 0; padding: 0; background-color: gray; height: 100%; box-sizing: border-box; } #Banner { background-color: red; width: 100%; margin: 0; padding: 0; box-sizing: borde ..read more
Visit website
Binance Order Book - BUY and SELL Bars [closed]
Stack Overflow | css
by Steven Steggles
3h ago
This is a question regarding the order book on Binance's trading page, like here: https://www.binance.com/en-GB/trade/SOL_USDT?_from=markets&type=spot I am confused as to how the width of the bars in the order book are being calculated. I mean the red SELL bars and the green BUY bars at different price levels. If you check the HTML on the Binance trading page, I am specifically referring to the the '.progress-bar' elements. The width of the bars are obviously some calculation representing how big the order size is. However the width of the bars is NOT based on a comparative percentage with ..read more
Visit website

Follow Stack Overflow | css on FeedSpot

Continue with Google
Continue with Apple
OR