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_79974008 | stackoverflow | FRONTEND_DEVELOPMENT | How to align text/span inside div to the right? | How to align text/span inside div to the right?
I'm trying to align the remaining counter to the right of the div-box, but I want the character counter to remain at left. How do I do this. This is the code I currently already have.
textarea {
width: 350px;
height: 150px;
}
p {
display: inline-block;
}
.right... | https://stackoverflow.com/questions/79974008/how-to-align-text-span-inside-div-to-the-right | html, css | 1,783,076,410 |
se_6381395 | stackoverflow | FRONTEND_DEVELOPMENT | HTML5 appcache with Safari causing cross site css not to load | HTML5 appcache with Safari causing cross site css not to load
I have run into an issue with one of my webpages that was changed to use the HTML5 appcache feature. Safari is blocking my cross site css files when the appcache is enabled on a page. The page, http://www.ericperret.org/, loads a number of image/css file... | https://stackoverflow.com/questions/6381395/html5-appcache-with-safari-causing-cross-site-css-not-to-load | css, html, safari, manifest | 1,308,285,482 |
se_66303360 | stackoverflow | FRONTEND_DEVELOPMENT | Mask-image with png-file | Mask-image with png-file
I have a problem with mask-image: I want to use a png (or svg) as a clipping-mask on an image, so the image is shown in a certain shape. I found several examples online of how to do that, but refer now to this one: https://web.dev/css-masking/.
When I use the png the author used in their examp... | https://stackoverflow.com/questions/66303360/mask-image-with-png-file | html, css, svg, png, clipping | 1,613,917,865 |
se_60256902 | stackoverflow | FRONTEND_DEVELOPMENT | Expand Searchbar with Search icon as well as show close icon onclick using Javascript | Expand Searchbar with Search icon as well as show close icon onclick using Javascript
I am trying to open the expanded search bar with a search icon as well as a close icon on click using javascript. Here I am attaching my code. Your help will be appreciated in advance. I am also attaching the image so it can be under... | https://stackoverflow.com/questions/60256902/expand-searchbar-with-search-icon-as-well-as-show-close-icon-onclick-using-javas | javascript, html, css, animation | 1,581,920,539 |
se_42132041 | stackoverflow | FRONTEND_DEVELOPMENT | Circled Background should stay the same size | Circled Background should stay the same size
I want to display a number with a circled background. However I don't know the length of the number. My current solution will only show the correct size when I have two digits. How can I ensure, that it will stay the same if I have only one digit?
.circled-background{
b... | https://stackoverflow.com/questions/42132041/circled-background-should-stay-the-same-size | javascript, html, css | 1,486,630,419 |
se_52560415 | stackoverflow | FRONTEND_DEVELOPMENT | How to resize image in bootstrap carousel? | How to resize image in bootstrap carousel?
How to change from this
To this?
I want to shorten the width of the image in this carousel, but not the actual red box. How can i do it? I'm at my wits end. I tried every solution on this forum, it doesn't shrink it the way i show it in the picture.
<div class="contai... | https://stackoverflow.com/questions/52560415/how-to-resize-image-in-bootstrap-carousel | html, css, bootstrap-4, carousel | 1,538,156,872 |
se_79974068 | stackoverflow | FRONTEND_DEVELOPMENT | how do i make it so that only the "content" section has a scrollbar | how do i make it so that only the "content" section has a scrollbar
I've tried all the methods I saw everywhere, but I couldn't get it to work.
All I want is to get only the content section to have a scrollbar.
I've tried using flexbox and tried using calc(), but nothing works as expected
body {
align-it... | https://stackoverflow.com/questions/79974068/how-do-i-make-it-so-that-only-the-content-section-has-a-scrollbar | html, css, scrollbar | 1,783,084,443 |
se_79973990 | stackoverflow | FRONTEND_DEVELOPMENT | SASS: & h3, @at-root .Page #{&} section.gallery causes syntax error | SASS: & h3, @at-root .Page #{&} section.gallery causes syntax error
.Article {
& h3, @at-root .Page #{&} section.gallery { color:red; }
}
It is expected to generate:
.Article h3, .Page .Article section.gallery { color:red; }
But
Current behaviour is to throw a syntax error 'Invalid CSS after ...'.
How to r... | https://stackoverflow.com/questions/79973990/sass-h3-at-root-page-section-gallery-causes-syntax-error | css, sass | 1,783,073,917 |
se_20981705 | stackoverflow | FRONTEND_DEVELOPMENT | SASS error when using @at-root | SASS error when using @at-root
I'm running SASS 3.3.0.rc.2 and I've got a strange error. I've searched Google for any tidbits of information but can't find any. This file used to work with an earlier version of 3.3.0. I've removed all SASS gems and re-installed, but it is still happening. When I try to run Sass o... | https://stackoverflow.com/questions/20981705/sass-error-when-using-at-root | css, sass | 1,389,128,184 |
se_79970470 | stackoverflow | FRONTEND_DEVELOPMENT | How do I align the buttons I made using <a> inside of <ul> to be spaced evenly both vertically and horizontally? | How do I align the buttons I made using <a> inside of <ul> to be spaced evenly both vertically and horizontally?
I'm making a personal website; and I wanted to make some buttons that link to other pages, but I don't know how to get them aligned. I have 6 total buttons, but they are not the same size, and t... | https://stackoverflow.com/questions/79970470/how-do-i-align-the-buttons-i-made-using-a-inside-of-ul-to-be-spaced-evenly-b | html, css, list, alignment | 1,782,763,764 |
se_29603741 | stackoverflow | FRONTEND_DEVELOPMENT | Semantic UI - change component styles (override components css) | Semantic UI - change component styles (override components css)
I'm trying to change the style of some Semantic UI components. I've created a CSS file and I've been changing the parameters there. Then I noticed that all component CSS files (in Semantic UI folder) have the following code at the end:
/******************... | https://stackoverflow.com/questions/29603741/semantic-ui-change-component-styles-override-components-css | css, semantic-ui | 1,428,922,900 |
se_21331043 | stackoverflow | FRONTEND_DEVELOPMENT | How to set width and height of slideshow dynamically | How to set width and height of slideshow dynamically
I have set up a web page using an image in a div called slideshow. The div is supposed to be a max-width of 1600px and a max-height of 600px (width and height of the original jpg used here) and to shrink down dynamically when the screen is smaller or resized.
This ... | https://stackoverflow.com/questions/21331043/how-to-set-width-and-height-of-slideshow-dynamically | css, slideshow, html | 1,390,561,557 |
se_79962897 | stackoverflow | FRONTEND_DEVELOPMENT | Fonts for different languages? | Fonts for different languages?
I'm trying to tweak this so arimo is used for Hebrew and alef is used for everything else.
This is my CSS:
@import url("https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400..700;1,400..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alef:wght@400;700&f... | https://stackoverflow.com/questions/79962897/fonts-for-different-languages | css, fonts, font-face, webfonts | 1,781,825,022 |
se_12581588 | stackoverflow | FRONTEND_DEVELOPMENT | How to give infinite width to a div? | How to give infinite width to a div?
Suppose there are two divs, A & B.
Div B has been given a width of 900px;
Screen resolution is 500px;
this would cause a horizontal scroll.
the problem is when I scroll to right, I see that DivA is not REALLY 100%.
Is there any ways I can make DivA always fill remaining space ... | https://stackoverflow.com/questions/12581588/how-to-give-infinite-width-to-a-div | html, css, width | 1,348,570,824 |
se_12991164 | stackoverflow | FRONTEND_DEVELOPMENT | Maintaining the final state at end of a CSS animation | Maintaining the final state at end of a CSS animation
I'm running an animation on some elements that are set to opacity: 0; in the CSS. The animation class is applied onClick, and, using keyframes, it changes the opacity from 0 to 1 (among other things).
Unfortunately, when the animation is over, the elements go back... | https://stackoverflow.com/questions/12991164/maintaining-the-final-state-at-end-of-a-css-animation | css, css-animations | 1,350,755,928 |
se_42161402 | stackoverflow | FRONTEND_DEVELOPMENT | Toggle pages backgroundcolor in html/CSS | Toggle pages backgroundcolor in html/CSS
On my HTML/CSS page I need to have a switch to toggle the background color and text color. (For example black theme to white theme). Is there any way to do this? | https://stackoverflow.com/questions/42161402/toggle-pages-backgroundcolor-in-html-css | javascript, html, css | 1,486,735,734 |
se_40396197 | stackoverflow | FRONTEND_DEVELOPMENT | Page break in print for dynamic content | Page break in print for dynamic content
I have an data on print screen page. I want that split data into one page and after that another data should be print on another page. It means data should not be split. My content is dynamic. This is my problem screenshot...
Normal page
Print page
This is my demo code..
... | https://stackoverflow.com/questions/40396197/page-break-in-print-for-dynamic-content | jquery, html, css | 1,478,159,081 |
se_79966688 | stackoverflow | FRONTEND_DEVELOPMENT | Why do web developers use code editors instead of writing code directly in the browser? | Why do web developers use code editors instead of writing code directly in the browser?
I'm new to web development and I'm trying to understand the purpose of code editors.
Modern browsers can display and run HTML, CSS, and JavaScript. Browsers also provide Developer Tools that allow editing code.
Because of this, I'm... | https://stackoverflow.com/questions/79966688/why-do-web-developers-use-code-editors-instead-of-writing-code-directly-in-the-b | javascript, html, css | 1,782,370,941 |
se_42981446 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap Carousel Opacity Images and Text | Bootstrap Carousel Opacity Images and Text
I am trying to use the Bootstrap Carousel to have background-images at a low opacity with header text at full capacity. I am trying to find out a way to target each slider image without bringing down the text opacity.
<div class="container">
<div class="row">
... | https://stackoverflow.com/questions/42981446/bootstrap-carousel-opacity-images-and-text | css, image, twitter-bootstrap, carousel, opacity | 1,490,285,549 |
se_79972431 | stackoverflow | FRONTEND_DEVELOPMENT | How do I center my <div> element containing a lot of other <div> elements? | How do I center my <div> element containing a lot of other <div> elements?
I'm trying to center a bowling scoresheet that I made with HTML and CSS. The GitHub AI was unable to figure out how to center it, and I have tried probably about 5 different solutions I found on the internet but they either do nothi... | https://stackoverflow.com/questions/79972431/how-do-i-center-my-div-element-containing-a-lot-of-other-div-elements | html, css | 1,782,965,617 |
se_25136199 | stackoverflow | FRONTEND_DEVELOPMENT | jQuery equal height columns / rows with one DIV-Class | jQuery equal height columns / rows with one DIV-Class
How can I make equal height rows with one DIV-Class without adress all Column-Classes but rather the row with the 4-Line-Text in the first row ?
Here is my example and the problem http://jsfiddle.net/8mh4s/1/
$('.container').each(function() {
var highe... | https://stackoverflow.com/questions/25136199/jquery-equal-height-columns-rows-with-one-div-class | javascript, html, jquery, css | 1,407,233,360 |
se_70973271 | stackoverflow | FRONTEND_DEVELOPMENT | Struggling to make a simple box | Struggling to make a simple box
I'm new to webdev using html/css. Starting to learn, and I want to create a really simple thing.
Basically a responsive fixed box that never touches the viewport by 20px.
If you change the screen size, the box will always have a 20px margin, top, sides and bottom. I don't want scrolling... | https://stackoverflow.com/questions/70973271/struggling-to-make-a-simple-box | html, css | 1,643,899,405 |
se_41487030 | stackoverflow | FRONTEND_DEVELOPMENT | Trigger a CSS :hover with JavaScript by scrolling | Trigger a CSS :hover with JavaScript by scrolling
I am working on a web site with fixed menu at the top of the site. If you hover over the navigation bar it moves down to reveal the links.
The hover is realised with CSS classes.
The navigation should be shown completely, when you enter the site or scroll to the top.
I... | https://stackoverflow.com/questions/41487030/trigger-a-css-hover-with-javascript-by-scrolling | javascript, html, css | 1,483,624,979 |
se_41409321 | stackoverflow | FRONTEND_DEVELOPMENT | How to integrate a html bootstrap code into JavaScript code? | How to integrate a html bootstrap code into JavaScript code?
I wrote an html web site. There is a button created with bootstrap. I want to change the design of the button and the label text on it, depending on a boolean variable.
Here are the two types of buttons:
<div class="alert alert-success" role="alert">
<ce... | https://stackoverflow.com/questions/41409321/how-to-integrate-a-html-bootstrap-code-into-javascript-code | javascript, html, css | 1,483,196,260 |
se_40741491 | stackoverflow | FRONTEND_DEVELOPMENT | How to put color on the image without affecting the transparent area? | How to put color on the image without affecting the transparent area?
I am wondering how to put color on the image without affecting the transparent area. I must say that I want to apply a gradient with a hard transition.
I tried to implement it through the svg, but there is a problem in the animation of the gradient.... | https://stackoverflow.com/questions/40741491/how-to-put-color-on-the-image-without-affecting-the-transparent-area | javascript, html, css | 1,479,816,623 |
se_41994431 | stackoverflow | FRONTEND_DEVELOPMENT | How to responsive image in ionic from different screen size? | How to responsive image in ionic from different screen size?
I am creating an ionic app, in that I need to add a four images in my home page in two row and each row has two images. The images size is 296*296.
I have tried the below code,
index.html
<ion-nav-view class="container" >
</ion-nav-view>
Home.html
<ion-... | https://stackoverflow.com/questions/41994431/how-to-responsive-image-in-ionic-from-different-screen-size | angularjs, html, twitter-bootstrap, css, ionic-framework | 1,486,011,239 |
se_53361974 | stackoverflow | FRONTEND_DEVELOPMENT | Make overflow scroll bar visible on iOS and Android mobile | Make overflow scroll bar visible on iOS and Android mobile
How can I make the overflow scrollbar visible on mobile devices? The scrollbar is visible on desktops but not on mobile devices. I need it to show on iPhones and Samsungs. So also Safari browsers. Is that even posibble?
This is what I have for now.
::-webk... | https://stackoverflow.com/questions/53361974/make-overflow-scroll-bar-visible-on-ios-and-android-mobile | android, jquery, html, ios, css | 1,542,551,466 |
se_79970417 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a clip‑path border stay fixed regardless of the div’s height | How to make a clip‑path border stay fixed regardless of the div’s height
So, as you can see below, I have this div with a clip-path made out of percentages that trims the div at its corner. My requirement would be to keep the trim size independent from the height of the div. Might be somehow in pixels.
function togg... | https://stackoverflow.com/questions/79970417/how-to-make-a-clip-path-border-stay-fixed-regardless-of-the-div-s-height | html, css | 1,782,750,917 |
se_40586021 | stackoverflow | FRONTEND_DEVELOPMENT | Best way to align image png file to bottom left? | Best way to align image png file to bottom left?
I'm trying to add this image to the bottom left but it keeps heading underneath the header. Any tips to fix this, or where I am going going wrong? The last code is the one I am trying to get aligned.
How the website normally looks:
When I add the img code:
Jsfiddle
... | https://stackoverflow.com/questions/40586021/best-way-to-align-image-png-file-to-bottom-left | javascript, html, css | 1,479,117,621 |
se_40407012 | stackoverflow | FRONTEND_DEVELOPMENT | HTML5/CSS User location select | HTML5/CSS User location select
You know those nice dropdown menus for choosing your location, those in which you type something and it start narrowing it down to various location/countries/languages.
I refuse to believe that everyone implements them by hand but I'm having a hard time finding some examples/templates to... | https://stackoverflow.com/questions/40407012/html5-css-user-location-select | javascript, html, css | 1,478,191,543 |
se_40393440 | stackoverflow | FRONTEND_DEVELOPMENT | How to make an image tile in CSS? | How to make an image tile in CSS?
How can I make it so that a 100 by 100 image repeats itself all throughout the web page. I want the image to duplicate itself and fill the screen.
For example lets say I had this picture:
and I wanted it to look like this:
The spacing doesn't matter, but how would I do this? | https://stackoverflow.com/questions/40393440/how-to-make-an-image-tile-in-css | javascript, html, css | 1,478,144,123 |
se_39261675 | stackoverflow | FRONTEND_DEVELOPMENT | Is it possible to download a web site's entire code, HTML, CSS and JavaScript files? | Is it possible to download a web site's entire code, HTML, CSS and JavaScript files?
Is it possible to fully download a web site or view all of its code? Like for example I know you can view page source in a browser but is there a way to download all of a web site's code like HTML, CSS and JavaScript then run it o... | https://stackoverflow.com/questions/39261675/is-it-possible-to-download-a-web-sites-entire-code-html-css-and-javascript-fi | javascript, html, css | 1,472,695,842 |
se_25109485 | stackoverflow | FRONTEND_DEVELOPMENT | CSS responsive images | CSS responsive images
I've been trying to adjust these styles.
On this page: http://69.195.124.215/~vtiffcom/about-vtiff/.
I have a div for my logo and one for the subhead. The logo is the icon. The subhead is the text "Vermont International Film Festival"
When the browser resizes, the subhead falls under the logo,... | https://stackoverflow.com/questions/25109485/css-responsive-images | css, responsive-design | 1,407,102,806 |
se_10987821 | stackoverflow | FRONTEND_DEVELOPMENT | Two columns equal height only css (no display: table, table-row, table-cell) | Two columns equal height only css (no display: table, table-row, table-cell)
In CSS, I can do something like this:
http://s1.ipicture.ru/uploads/20120612/Uk1Z8iZ1.png http://s1.ipicture.ru/uploads/20120612/Uk1Z8iZ1.png
But I've no idea how to change that to something like:
http://s2.ipicture.ru/uploads/20120612/eI5sNT... | https://stackoverflow.com/questions/10987821/two-columns-equal-height-only-css-no-display-table-table-row-table-cell | css | 1,339,450,309 |
se_78534997 | stackoverflow | FRONTEND_DEVELOPMENT | Dynamically Change Highlight.js Theme with Button Toggle (Light/Dark Mode) | Dynamically Change Highlight.js Theme with Button Toggle (Light/Dark Mode)
I'm using the highlight.js library to display code snippets on my webpage. I'd like to add a button that allows users to switch between light and dark themes for the code snippets. Ideally, clicking the button should dynamically change the CSS ... | https://stackoverflow.com/questions/78534997/dynamically-change-highlight-js-theme-with-button-toggle-light-dark-mode | javascript, html, css, highlight.js | 1,716,720,642 |
se_10354271 | stackoverflow | FRONTEND_DEVELOPMENT | blocking CSS hover | blocking CSS hover
I have a button with class MyButton defined somewhat like this:
.MyButton{
color:black;
background:white;}
.MyButton:hover{
color:white;
background:black;}
This button class is for a pager button and when the pager is at bounds, I add this class to it:
.ButtonDisabled{
opacity:0.3}
The issue... | https://stackoverflow.com/questions/10354271/blocking-css-hover | jquery, css | 1,335,543,498 |
se_35933102 | stackoverflow | FRONTEND_DEVELOPMENT | How to make an error message div sticky? | How to make an error message div sticky?
An error message(which is rendered conditionally) is displayed on top of the screen and if the user is at the bottom of the screen, he always has to scroll up to view the error.
So I am trying to display that error within the view of the user.
I am using Primefaces p:messages... | https://stackoverflow.com/questions/35933102/how-to-make-an-error-message-div-sticky | javascript, jquery, css, primefaces, sticky | 1,457,675,046 |
se_32118711 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a pie chart from highcharts responsive | How to make a pie chart from highcharts responsive
I am trying since some days to make a pie chart from highcharts responsive. I am working on a medium size project and sometimes it is easy to lose the overview.
I already checked this : http://www.angulartutorial.net/2014/03/responsive-highchart.html but no success.
... | https://stackoverflow.com/questions/32118711/how-to-make-a-pie-chart-from-highcharts-responsive | css, charts, highcharts | 1,440,074,909 |
se_79966023 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a Bootstrap carousel caption full‑width and ensure all images have equal height | How to make a Bootstrap carousel caption full‑width and ensure all images have equal height
As you can see, the shaded area of the caption box only reaches to the very start of the navigation arrows. It looks pretty awkward; I want it to extend to the edges of the carousel itself!
Also, I want the images to all be th... | https://stackoverflow.com/questions/79966023/how-to-make-a-bootstrap-carousel-caption-full-width-and-ensure-all-images-have-e | html, css, bootstrap-5 | 1,782,243,723 |
se_37943006 | stackoverflow | FRONTEND_DEVELOPMENT | Unable to change class name of SVG element | Unable to change class name of SVG element
I want to change the class applied on an SVG with the click of a button. The code is here .
My SVG looks like:
// I tried both the below code :
document.getElementById("test").className = "halffill";
document.querySelector("svg.fill").setAttribute("class","halffill");
<svg ... | https://stackoverflow.com/questions/37943006/unable-to-change-class-name-of-svg-element | javascript, html, css, svg | 1,466,508,011 |
se_25472900 | stackoverflow | FRONTEND_DEVELOPMENT | Woocommerce Recently Viewed Products Wordpress | Woocommerce Recently Viewed Products Wordpress
I want to include in my website the " Recently Viewed Produdcts" widget. I found out that i can do that with a shortcode as mentioned here: http://www.wpexplorer.com/woocommerce-recently-viewed-products-shortcode/
After implementing this code and creation of plugin the p... | https://stackoverflow.com/questions/25472900/woocommerce-recently-viewed-products-wordpress | php, css, wordpress, plugins, woocommerce | 1,408,891,723 |
se_21475899 | stackoverflow | FRONTEND_DEVELOPMENT | CSS selector that applies only to the descendants with closest depth | CSS selector that applies only to the descendants with closest depth
I have two class HoverShow and HoverHidden.
HoverHidden elements should have at least one HoverShow ancestor and only be displayed when the closest HoverShow ancestor is hovered.
.HoverHidden
{
display: none;
}
.HoverShow:hover .HoverHidden
{
... | https://stackoverflow.com/questions/21475899/css-selector-that-applies-only-to-the-descendants-with-closest-depth | css, css-selectors | 1,391,158,764 |
se_35022947 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap scrollable table with fixed header | Bootstrap scrollable table with fixed header
I want to create a table with a lot of data. To keep it all sorted out, I want the table to be scrollable. I use bootstrap to pimp up the table.
I know this question is asked before and the solution does work for me, but my table is a mess. See the table on the right for wh... | https://stackoverflow.com/questions/35022947/bootstrap-scrollable-table-with-fixed-header | html, css, twitter-bootstrap, bootstrap-table | 1,453,838,927 |
se_78749253 | stackoverflow | FRONTEND_DEVELOPMENT | html input type NUMBER, pure CSS how to customize plus and minus buttons | html input type NUMBER, pure CSS how to customize plus and minus buttons
I found many ways to customize a html input number, e.g.
<input name="tgTxt" type="number" value="36.5" max="37" step="0.5" style="width: 160px;">
with non pure CSS.
Is there a way to customize in pure CSS(no jQuery, etc.) the "+" and ... | https://stackoverflow.com/questions/78749253/html-input-type-number-pure-css-how-to-customize-plus-and-minus-buttons | html, css, input, numbers | 1,721,037,947 |
se_30791292 | stackoverflow | FRONTEND_DEVELOPMENT | How do I remove a style element from an inline style using regex? | How do I remove a style element from an inline style using regex?
I am trying to remove only one property i.e float and its value, from an inline style. I would like to start with this:
<div id="first_line_info" style="width:490px; float:right;"> </div>
And make it like this:
<div id="first_line_info" style="width:49... | https://stackoverflow.com/questions/30791292/how-do-i-remove-a-style-element-from-an-inline-style-using-regex | c#, html, css, regex | 1,434,056,154 |
se_38381183 | stackoverflow | FRONTEND_DEVELOPMENT | How to remove table column with CSS | How to remove table column with CSS
I have a table that I am trying to make mobile friendly, so when the screen is a certain width I remove an unnecessary column. Here is the CSS for that:
@media (max-width: 640px)
{
.urlCell
{
display: none;
}
}
The above code does the job of removing the ce... | https://stackoverflow.com/questions/38381183/how-to-remove-table-column-with-css | javascript, html, css | 1,468,519,388 |
se_25537989 | stackoverflow | FRONTEND_DEVELOPMENT | Inconsistent line-height between INPUT and LABEL | Inconsistent line-height between INPUT and LABEL
Why would setting line-height to match font-size cause this strange behavior:
The height of label is 16px but input is 18px... Why?
The heights will suddenly match if I change line-height: 18px or higher. What is happening?
JSFiddle Example
<style>
label, input {
... | https://stackoverflow.com/questions/25537989/inconsistent-line-height-between-input-and-label | html, css | 1,409,178,811 |
se_33962163 | stackoverflow | FRONTEND_DEVELOPMENT | Making text "non-readable" | Making text "non-readable"
I am in a weird situation, in where I have to put my name and contact information on a web page and I think it is fine, as long as the text can't be read by robots, copied, etc.
Basically what I want is a text block that looks like normal text, but behaves like an image. I cannot, ... | https://stackoverflow.com/questions/33962163/making-text-non-readable | javascript, html, css, web-crawler | 1,448,644,728 |
se_38886119 | stackoverflow | FRONTEND_DEVELOPMENT | How can I create a reusable HTML string object? | How can I create a reusable HTML string object?
How can I create a reusable string for my HTML web page?
I would like the following line of HTML to be reusable as a small string "object" throughout my web pages:
[<span class="sgreentxt">root</span>@<span class="sbluetxt">localhost</span> <span class="sorangetxt">~ </s... | https://stackoverflow.com/questions/38886119/how-can-i-create-a-reusable-html-string-object | javascript, html, css | 1,470,880,592 |
se_38804567 | stackoverflow | FRONTEND_DEVELOPMENT | Body should be in center while zoom in and zoom out of web page in HTML5? | Body should be in center while zoom in and zoom out of web page in HTML5?
How can the body be centered when zooming in and out a web page?
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
body {
font-family: 'Merriweather Sans', sans-serif;
margi... | https://stackoverflow.com/questions/38804567/body-should-be-in-center-while-zoom-in-and-zoom-out-of-web-page-in-html5 | javascript, html, css | 1,470,488,577 |
se_38558043 | stackoverflow | FRONTEND_DEVELOPMENT | Web-mobile programming | Web-mobile programming
Can anyone name a few features that are specific/suitable for mobile web programming using html5, CSS and JavaScript?
Where can I find the compatibility list for each browser? | https://stackoverflow.com/questions/38558043/web-mobile-programming | javascript, html, css, mobile | 1,469,404,869 |
se_38068676 | stackoverflow | FRONTEND_DEVELOPMENT | .toDataURL() is saving transparent image instead of actual image | .toDataURL() is saving transparent image instead of actual image
toDataURL() is saving the black overlay/background, that is drawn on canvas; but not the image is drawn on the same canvas through a link. If I only draw an image and try to save it as an image, the transparent image is saved.
I have researched many thin... | https://stackoverflow.com/questions/38068676/todataurl-is-saving-transparent-image-instead-of-actual-image | javascript, html, css | 1,467,095,567 |
se_51187605 | stackoverflow | FRONTEND_DEVELOPMENT | Collapsible div - expand and collapse | Collapsible div - expand and collapse
I'm creating a FAQs webpage where theres approx 50 questions. Therefore, I'm using collapsible divs so that the page isn't too long. Below is the code I've used so far.
I'm wondering if its possible to have a hyperlink (e.g. /#question20) where I can jump to a particular div which... | https://stackoverflow.com/questions/51187605/collapsible-div-expand-and-collapse | html, css, collapsable | 1,530,782,244 |
se_31245980 | stackoverflow | FRONTEND_DEVELOPMENT | How to add up value via function | How to add up value via function
I am trying to create a function that adds numbers to a given variable each time a button was clicked.
I have 4 buttons: farm, cave, house, casino
I need to send the random numbers generated by the buttons to a variable that will add up all of the SCORE on the "YOUR GOLD" section. So ... | https://stackoverflow.com/questions/31245980/how-to-add-up-value-via-function | php, html, css | 1,436,186,063 |
se_37633884 | stackoverflow | FRONTEND_DEVELOPMENT | How To Have A Section Fill The Entire Screen? | How To Have A Section Fill The Entire Screen?
I was wondering how I can have different sections of a web site fill the entire window.
For instance on this web site by Viraj BindraDead link.
In his experience sections, they take up the whole window. I do not know what to call it, is there a word for it? I was also wond... | https://stackoverflow.com/questions/37633884/how-to-have-a-section-fill-the-entire-screen | javascript, html, css | 1,465,066,621 |
se_1360869 | stackoverflow | FRONTEND_DEVELOPMENT | How to use HTML to print header and footer on every printed page of a document? | How to use HTML to print header and footer on every printed page of a document?
Is it possible to print HTML pages with custom headers and footers on each printed page?
I'd like to add the word "UNCLASSIFIED" in Red, Arial, size 16pt to the top and bottom of every printed page, regardless of the content.
To clarify,... | https://stackoverflow.com/questions/1360869/how-to-use-html-to-print-header-and-footer-on-every-printed-page-of-a-document | html, css, printing, header, footer | 1,251,787,122 |
se_38029143 | stackoverflow | FRONTEND_DEVELOPMENT | Remove border around content property via CSS | Remove border around content property via CSS
All webkit browsers display by default a fine border around my image which I set via content:
content: url('myPic.png');
I´ve tried to remove it with: border: 0; border-style: none; and text-decoration: none; without any results. Is there a way to remove it? | https://stackoverflow.com/questions/38029143/remove-border-around-content-property-via-css | javascript, html, css | 1,466,862,085 |
se_37981668 | stackoverflow | FRONTEND_DEVELOPMENT | How are web pages linked? | How are web pages linked?
I'm having trouble figuring out how two pages are linked. For example if I have the following code:
<!DOCTYPE html>
<html>
<button onclick='myfunction()'>Click me</button>
<body>
<script>
function myfunction() {
//some code to take user to the next page
}
</script>
<style>
some style code
... | https://stackoverflow.com/questions/37981668/how-are-web-pages-linked | javascript, html, css | 1,466,651,300 |
se_37906148 | stackoverflow | FRONTEND_DEVELOPMENT | How to loop over images | How to loop over images
I want to loop over my images folder and display them on the screen.
Like I have this:
<section id="photos">
<a target="_blank" href="images/1.jpg">
<img src="images/1.jpg">
</a>
</section>
And all of my images are with numbers so my question is how to loop that cod... | https://stackoverflow.com/questions/37906148/how-to-loop-over-images | javascript, html, css | 1,466,331,431 |
se_17699854 | stackoverflow | FRONTEND_DEVELOPMENT | HTML file won't find JS and CSS files | HTML file won't find JS and CSS files
My page should show a single Google Map.
If I throw the code in a JSFiddle, it works fine.
All of my files are in the same directory. I tested in Chrome and Firefox, both don't show the map. So I think there must be something about the way I am calling for access to my JavaSc... | https://stackoverflow.com/questions/17699854/html-file-wont-find-js-and-css-files | javascript, html, css | 1,374,064,348 |
se_14750955 | stackoverflow | FRONTEND_DEVELOPMENT | stop BR tag breaking with CSS | stop BR tag breaking with CSS
Is there a way to stop a <br> tag breaking using only CSS?
I tried br{display:none} whick works, but it also gets rid of the space between the two words, which I need to keep.
This is only for webkit (iPhone) so any CSS3 extravaganza is just fine.
I can't edit the content from the CMS,... | https://stackoverflow.com/questions/14750955/stop-br-tag-breaking-with-css | html, css | 1,360,239,531 |
se_79970234 | stackoverflow | FRONTEND_DEVELOPMENT | css task without class and id | css task without class and id
Create the 2 lists as shown in output and style the "here" text as shown without using inline css or using id/class?
Output should
Click here to go to the Google
Click here to go to flipkart
bg color should be blue and yellow of text here and it should be hyperlink
kindly tell me the code... | https://stackoverflow.com/questions/79970234/css-task-without-class-and-id | css, css-selectors | 1,782,726,482 |
se_1972887 | stackoverflow | FRONTEND_DEVELOPMENT | Sentence Spacing | Sentence Spacing
What is the best way to present the additional spacing that should come between sentences (using [X]HTML+CSS)?
<p>Lorem ipsum. Dolor sit amet.</p>
^^ wider than word spacing
Since HTML and XML both require whitespace folding, the above two spaces must behave as a single space.
What... | https://stackoverflow.com/questions/1972887/sentence-spacing | html, css, typography, spacing | 1,262,060,338 |
se_29116149 | stackoverflow | FRONTEND_DEVELOPMENT | using gradient but without mixing color | using gradient but without mixing color
I don't know if that is a stupid question or something like that but i want a div to be filled certain percent by one color and remaining part by other.
And the gradient property
.div{
background: linear-gradient(to right, #000 50%, #fff 50%);
}
Results into
.div{
... | https://stackoverflow.com/questions/29116149/using-gradient-but-without-mixing-color | css, linear-gradients | 1,426,663,073 |
se_38596338 | stackoverflow | FRONTEND_DEVELOPMENT | CSS select nested elements up to N levels deep | CSS select nested elements up to N levels deep
I have a number of nested elements, and I'm trying to select only the first N levels. The below shows a working example, where I'm selecting the first 7 levels and styling them. That works exactly how I want, however, I was hoping there was a simplified way of selecting t... | https://stackoverflow.com/questions/38596338/css-select-nested-elements-up-to-n-levels-deep | css, nested | 1,469,554,067 |
se_46410627 | stackoverflow | FRONTEND_DEVELOPMENT | Auto-sizing width with fit-content in css | Auto-sizing width with fit-content in css
I'm trying to prevent a parent division to be smaller than it's children using min-width and fit-content.
I first setup a division .parent with a min-width: fit-content. I, then added, a child with width: 100px and min-width: fit-content. Finaly, I added enough characters to ... | https://stackoverflow.com/questions/46410627/auto-sizing-width-with-fit-content-in-css | html, css | 1,506,359,411 |
se_1260122 | stackoverflow | FRONTEND_DEVELOPMENT | Expand a div to fill the remaining width | Expand a div to fill the remaining width
I want a two-column div layout, where each one can have variable width e.g.
div {
float: left;
}
.second {
background: #ccc;
}
<div>Tree</div>
<div class="second">View</div>
I want the 'view' div to expand to the whole width available after 'tree' div h... | https://stackoverflow.com/questions/1260122/expand-a-div-to-fill-the-remaining-width | html, css, multiple-columns | 1,249,994,775 |
se_79968390 | stackoverflow | FRONTEND_DEVELOPMENT | What is the name of this Vscode Feature or extention? | What is the name of this Vscode Feature or extention?
ive seen this feature on online css videos where the instructor is using vs code and when he writes the propery the editor automaticly shows the possible values.
After he wrote animation and emmet completed it the editor is showing the properties animation is the ... | https://stackoverflow.com/questions/79968390/what-is-the-name-of-this-vscode-feature-or-extention | css, visual-studio-code, vscode-extensions | 1,782,486,068 |
se_23734461 | stackoverflow | FRONTEND_DEVELOPMENT | Make all tds of equal height, when each td contains a div with dynamic content? | Make all tds of equal height, when each td contains a div with dynamic content?
I'm trying to make all tds in a table of equal height. I have four cells, each with a width of 25%. Each td will have a div based content, which will be dynamic and varying in length. I cannot change the structure of it.
Any help will be g... | https://stackoverflow.com/questions/23734461/make-all-tds-of-equal-height-when-each-td-contains-a-div-with-dynamic-content | html, css, html-table | 1,400,492,464 |
se_64872861 | stackoverflow | FRONTEND_DEVELOPMENT | How to use CSS variables with Tailwind CSS | How to use CSS variables with Tailwind CSS
Is it possible to use CSS variables with Tailwind CSS?
For instance, let's say I have these variables:
--primary-color: #fff;
--secondary-color: #000;
And I would like to use them in Tailwind like so:
<div class="bg-primary-color">
<h1>Hello World</h1>
</div>
How can I ac... | https://stackoverflow.com/questions/64872861/how-to-use-css-variables-with-tailwind-css | css, tailwind-css | 1,605,606,672 |
se_79968256 | stackoverflow | FRONTEND_DEVELOPMENT | How do I directly update the CSS for a class w/out inserting an inline style into each element? | How do I directly update the CSS for a class w/out inserting an inline style into each element?
Problem to Solve:
I am building a scorecard for a dice game to track the player's rolls & points. I'm using pure html & javascript.
There is no specific set # of players for the game, so I'm allowing the user to add players... | https://stackoverflow.com/questions/79968256/how-do-i-directly-update-the-css-for-a-class-w-out-inserting-an-inline-style-int | javascript, html, css, dynamic, runtime | 1,782,467,564 |
se_36821774 | stackoverflow | FRONTEND_DEVELOPMENT | Keyframes change content attribute not work on Firefox | Keyframes change content attribute not work on Firefox
I want change content in class .glyphicon-volume-down:before (class icon in bootstrap) but only work on Google Chrome.
My keyframes don't change the content attribute but it is changing the color.
I don't know what I am missing? I don't want use JavaScript.
Here i... | https://stackoverflow.com/questions/36821774/keyframes-change-content-attribute-not-work-on-firefox | css, animation, twitter-bootstrap-3, css-animations | 1,461,492,537 |
se_49886890 | stackoverflow | FRONTEND_DEVELOPMENT | Why is text-shadow present even when its <length> values are set to 0px? | Why is text-shadow present even when its <length> values are set to 0px?
Why does the text-shadow CSS property display when all of its <length> values are specified as 0px?
For example:
/* syntax for a single shadow: <color> <offset-x> <offset-y> <blur> */
text-shadow: rgb(250, 190, 0) 0px 0px 0px;
color: white;... | https://stackoverflow.com/questions/49886890/why-is-text-shadow-present-even-when-its-length-values-are-set-to-0px | css | 1,523,996,706 |
se_29306063 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap container-fluid not working for grids | Bootstrap container-fluid not working for grids
The code is linked below with JSFiddle.
The problem was when I decrease the screen size the div blocks should be in the same line with decreased width instead they are going one below the other. (once check it by increasing the screen width).
The other one I want to hi... | https://stackoverflow.com/questions/29306063/bootstrap-container-fluid-not-working-for-grids | html, css, twitter-bootstrap, grid-layout, fluid-layout | 1,427,475,335 |
se_66922323 | stackoverflow | FRONTEND_DEVELOPMENT | Display navbar ontop of react-window | Display navbar ontop of react-window
I'm trying to display a navbar on top of react window list. I'm using react-window and react-virtualized-auto-sizer. The problem is that when I add the navbar outside the AutoSizer it creates another scroll bar. sandbox. How could I position the navbar ontop of the list without ano... | https://stackoverflow.com/questions/66922323/display-navbar-ontop-of-react-window | css, reactjs, react-window | 1,617,380,814 |
se_512695 | stackoverflow | FRONTEND_DEVELOPMENT | How do I prevent line breaks between a radio button and its label, while still allowing line breaks within the label itself? | How do I prevent line breaks between a radio button and its label, while still allowing line breaks within the label itself?
I'd like to ensure that there's never a line break between a radio button and the start of its adjacent label. However, I want text within the label to be allowed to wrap. Is this possible? You ... | https://stackoverflow.com/questions/512695/how-do-i-prevent-line-breaks-between-a-radio-button-and-its-label-while-still-a | html, css | 1,233,772,796 |
se_9022954 | stackoverflow | FRONTEND_DEVELOPMENT | Animate changes of colspan | Animate changes of colspan
As I change the colspan of <td> at runtime, how to automatically slide it bigger or smaller with an animation effect?
Not sure if I should use jQuery's slideToggle, or animate, or something else to accomplish this. Can someone help me with ideas on what to use for this, and perhaps a bit of... | https://stackoverflow.com/questions/9022954/animate-changes-of-colspan | css, html-table, css-animations, css-transitions, jquery-animate | 1,327,600,966 |
se_70140908 | stackoverflow | FRONTEND_DEVELOPMENT | Scrollbar on tailwind while using overflow-x-hidden | Scrollbar on tailwind while using overflow-x-hidden
I am using Tailwind in a react project, I detected a scrolling error while using the class overflow-x-hidden. This class adds a vertical scrolling bar in the h1 elements of my component. See the attached image:
The live code can be found here:
https://play.tailwindc... | https://stackoverflow.com/questions/70140908/scrollbar-on-tailwind-while-using-overflow-x-hidden | css, reactjs, tailwind-css | 1,638,077,505 |
se_36584565 | stackoverflow | FRONTEND_DEVELOPMENT | Unable to load fonts | Unable to load fonts
I get the following error when I try loading fonts into the Spectacle boilerplate:
Failed to decode downloaded font: http://localhost:3000/assets/fonts/Overpass-Bold.ttf
OTS parsing error: invalid version tag
I've added a format type, and am loading my styles via a style tag in my html fi... | https://stackoverflow.com/questions/36584565/unable-to-load-fonts | html, css, webpack, fonts | 1,460,497,141 |
se_23827881 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap Datepicker scrolling issue | Bootstrap Datepicker scrolling issue
Experiencing a strange scrolling issue on my website where the bootstrap datepicker calendar doesn't stay with the input box that its attached to. Tried my best to recreate it in a jsfiddle. (in the box scroll with your mouse wheel then click on the input box to view the calendar.)... | https://stackoverflow.com/questions/23827881/bootstrap-datepicker-scrolling-issue | jquery, html, css, twitter-bootstrap, datepicker | 1,400,844,074 |
se_75425248 | stackoverflow | FRONTEND_DEVELOPMENT | How to give path/url for background image in tailwind? | How to give path/url for background image in tailwind?
I'm using Tailwind in my React Project. I want to add a background image in a div but it shows the following error:
Module not found: Error: Can't resolve '../../icons/blog-hero-1.png' in 'C:\Users\DELL\frontend-development\aidhumanity-practice-2\src'
I'm adding ... | https://stackoverflow.com/questions/75425248/how-to-give-path-url-for-background-image-in-tailwind | css, frontend, tailwind-css, background-image, web-frontend | 1,676,182,938 |
se_26692510 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make a button resize responsively to the window size? | How can I make a button resize responsively to the window size?
I've made this very simple form with an image as the button.
Is there a way to make the button resize responsively to the window size, in a similar manner to input - i.e. the button becomes progressively smaller as the window does?
form {
position: ... | https://stackoverflow.com/questions/26692510/how-can-i-make-a-button-resize-responsively-to-the-window-size | html, css, responsive | 1,414,871,377 |
se_39907145 | stackoverflow | FRONTEND_DEVELOPMENT | Align material icon with text on Materialize | Align material icon with text on Materialize
Recently, i started working on a project that contains a table with some fields, and I want to add some Material Design Icons trough MaterializeCSS on the side of the icons. Look at the image and you might get it
:
I tried everything, vertical align, inline(-block), flex,... | https://stackoverflow.com/questions/39907145/align-material-icon-with-text-on-materialize | css, icons, materialize, google-material-icons | 1,475,796,467 |
se_15260580 | stackoverflow | FRONTEND_DEVELOPMENT | Show css comments in web inspector in chrome | Show css comments in web inspector in chrome
Is there a way to show the comments that are generated in my css file in websinspector, I can see the comments when I view the css file in the resources tab but I dont see them in the elements styles sidebar, is this possible, this would make my life super easy.
Thanks. | https://stackoverflow.com/questions/15260580/show-css-comments-in-web-inspector-in-chrome | css, google-chrome, comments, web-inspector | 1,362,614,243 |
se_31335982 | stackoverflow | FRONTEND_DEVELOPMENT | Transition instant set border, show slowly | Transition instant set border, show slowly
Currently I have images as checkboxes which I can click then a yellow border comes up with transition.
Obviously it changes the margin stuff and everything when the border comes up so I set a default margin of 3px which goes away when the border is coming (the border is 3px t... | https://stackoverflow.com/questions/31335982/transition-instant-set-border-show-slowly | html, css | 1,436,516,963 |
se_36902505 | stackoverflow | FRONTEND_DEVELOPMENT | this.style.background never matches when compared to my RGB value list | this.style.background never matches when compared to my RGB value list
I am trying to make a small game using HTML, CSS and JavaScript.
The HTML and CSS and most of the JavaScript code appear to be working fine. However, when launch the program in Firefox and try to click a square div whose background RGB value matche... | https://stackoverflow.com/questions/36902505/this-style-background-never-matches-when-compared-to-my-rgb-value-list | javascript, html, css, if-statement, equality | 1,461,798,655 |
se_79966939 | stackoverflow | FRONTEND_DEVELOPMENT | Print styles application during print actions | Print styles application during print actions
I have a @media print stylesheet (inline in the page) that overrides colours for printing.
I have a chart rendering component that needs to re-render to print - users in dark mode have white text on a white page otherwise.
So on the beforeprint event I re-render all the ch... | https://stackoverflow.com/questions/79966939/print-styles-application-during-print-actions | javascript, css, printing | 1,782,404,823 |
se_3540194 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a grid (like graph paper grid) with just CSS? | How to make a grid (like graph paper grid) with just CSS?
How to make a grid (like graph paper grid) with just CSS?
I just want to make a virtual grid paper only using CSS. | https://stackoverflow.com/questions/3540194/how-to-make-a-grid-like-graph-paper-grid-with-just-css | html, css | 1,282,452,208 |
se_1139763 | stackoverflow | FRONTEND_DEVELOPMENT | What does the "+" (plus sign) CSS selector mean? | What does the "+" (plus sign) CSS selector mean?
For example:
p + p {
/* Some declarations */
}
I don't know what the + means. What's the difference between this and just defining a style for p without + p? | https://stackoverflow.com/questions/1139763/what-does-the-plus-sign-css-selector-mean | css, css-selectors | 1,247,772,410 |
se_79929329 | stackoverflow | FRONTEND_DEVELOPMENT | Semantics of the <pre> tag | Semantics of the <pre> tag
I'm curious about the semantics of the <pre> tag. It seems to achieve nothing which CSS cannot:
code.block {
white-space: pre;
}
.poem {
font-family: monospace;
white-space: pre;
}
<pre><code>fn main() {
println!("Hello, world");
}</code></pre>
<code class='block'>fn main()... | https://stackoverflow.com/questions/79929329/semantics-of-the-pre-tag | html, css, semantics | 1,776,762,573 |
se_79966838 | stackoverflow | FRONTEND_DEVELOPMENT | How do I make a keyboard-only infinite scroll in JS? | How do I make a keyboard-only infinite scroll in JS?
It's really difficult to explain what exactly I want with words, so instead I'll let the images do most of the talking.
This is what I currently have:
And this is what I want to happen when I scroll past the bottom:
I don't want a scroll bar on the side. Ideally I... | https://stackoverflow.com/questions/79966838/how-do-i-make-a-keyboard-only-infinite-scroll-in-js | javascript, html, css | 1,782,390,545 |
se_48345271 | stackoverflow | FRONTEND_DEVELOPMENT | slick slider adaptive height issue | slick slider adaptive height issue
I'm using slick slider, I have my ul & li items and I have set the slider to use adaptiveHeight as my slide content will be different heights, I'm having an issue as I want one of my slides to load content when a user clicks a 'loadmore' button however when the user clicks the button... | https://stackoverflow.com/questions/48345271/slick-slider-adaptive-height-issue | javascript, jquery, css, slick.js | 1,516,378,502 |
se_79965921 | stackoverflow | FRONTEND_DEVELOPMENT | How to align divs with ul and li to be centered to the | separator? | How to align divs with ul and li to be centered to the | separator?
I have the structure below and this result:
ul#homeinfo #copy {
list-style: none;
position: absolute;
top: 20px;
right: 20px;
margin: 0;
line-height: 22px;
}
ul#homeinfo li {
display: inline;
}
ul#homeinfo li a {
color: white;
}
... | https://stackoverflow.com/questions/79965921/how-to-align-divs-with-ul-and-li-to-be-centered-to-the-separator | html, css | 1,782,225,075 |
se_10721884 | stackoverflow | FRONTEND_DEVELOPMENT | How to render HTML to an image | How to render HTML to an image
Is there a way to render HTML to an image like PNG? I know that it is possible with canvas but I would like to render standard HTML element like div for example. | https://stackoverflow.com/questions/10721884/how-to-render-html-to-an-image | javascript, html, css, image, render | 1,337,782,745 |
se_79965737 | stackoverflow | FRONTEND_DEVELOPMENT | CSS Cursor not changing when dragging an element | CSS Cursor not changing when dragging an element
I have a simple application of JavaScript’s drag & drop API. I want to change the cursor when I drag over another element.
I don’t think I can readily change the CSS properties of the element being dragged, so I have take to applying the change to the drag container its... | https://stackoverflow.com/questions/79965737/css-cursor-not-changing-when-dragging-an-element | javascript, html, css, drag-and-drop | 1,782,204,684 |
se_79230576 | stackoverflow | FRONTEND_DEVELOPMENT | How to achieve a smooth page redirect with an animation? | How to achieve a smooth page redirect with an animation?
I'm trying to get an effect where a user is redirected to another page in the middle of an animation, so to the user, it would seem like there is only an animation however, the user has already been redirected to another page. This allows for a smooth page redir... | https://stackoverflow.com/questions/79230576/how-to-achieve-a-smooth-page-redirect-with-an-animation | javascript, html, jquery, css | 1,732,715,454 |
se_75345639 | stackoverflow | FRONTEND_DEVELOPMENT | Multiple cards in carousel but showing one card per slide | Multiple cards in carousel but showing one card per slide
I'm using Bootstrap 5 to create multiple cards in a carousel, but it just showing 1 card per slide, how can I make it so that it's showing 3 cards per slide?
Should I use row and columns ?
Or is there a way to combine Bootstrap 4 and Bootstrap 5 together? Becau... | https://stackoverflow.com/questions/75345639/multiple-cards-in-carousel-but-showing-one-card-per-slide | html, css, bootstrap-5, bootstrap-cards | 1,675,519,901 |
se_27418104 | stackoverflow | FRONTEND_DEVELOPMENT | What's the difference between display:inline-flex and display:flex? | What's the difference between display:inline-flex and display:flex?
I am trying to vertically align elements within an ID wrapper. I gave the property display:inline-flex; to this ID as the ID wrapper is the flex container.
But there is no difference in presentation. I expected that everything in the wrapper ID w... | https://stackoverflow.com/questions/27418104/whats-the-difference-between-displayinline-flex-and-displayflex | css, flexbox | 1,418,285,566 |
se_66390043 | stackoverflow | FRONTEND_DEVELOPMENT | How to add multiple Flip Cards using html | How to add multiple Flip Cards using html
I am making a website in which I need to showcase the specs of a product so I am using flip cards to do so. The problem is I am trying to add multiple cards, my first one works fine, but then everything after just molds into the first one making a huge mess. I tried "googling"... | https://stackoverflow.com/questions/66390043/how-to-add-multiple-flip-cards-using-html | html, css, flip | 1,614,359,255 |
se_36939562 | stackoverflow | FRONTEND_DEVELOPMENT | How to count the number of correct answers using JavaScript? | How to count the number of correct answers using JavaScript?
I'm trying to create a simple web site about counting the number of fingers I'm putting up (random number). However, I want to add something extra to the web site. I'm trying to create a counter on the side of the container that counts the number of correct ... | https://stackoverflow.com/questions/36939562/how-to-count-the-number-of-correct-answers-using-javascript | javascript, html, css | 1,461,936,285 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.