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_19770532 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap: Implement facebook-like notifications in header (navbar) as submenu, not just a counter | Bootstrap: Implement facebook-like notifications in header (navbar) as submenu, not just a counter
Chances are I'm just retarded and I'm getting an answer within a few minutes, but I just can't seem to find what I'm looking for.
I need to implement "facebook-like" notifications in my navbar. It's no problem for me t... | https://stackoverflow.com/questions/19770532/bootstrap-implement-facebook-like-notifications-in-header-navbar-as-submenu | jquery, css, twitter-bootstrap | 1,383,577,241 |
se_17287745 | stackoverflow | FRONTEND_DEVELOPMENT | Free Download of Datatable css | Free Download of Datatable css
I would like to change the css feel of my datatable. I am currently using jquerydatatables.css and jquery-ui.css. Is there any free download of datatable css? | https://stackoverflow.com/questions/17287745/free-download-of-datatable-css | css, datatable, themes | 1,372,123,731 |
se_75715736 | stackoverflow | FRONTEND_DEVELOPMENT | Center revealing slider background image | Center revealing slider background image
I'm making a reveal on mouse move effect on my site to have two divs with background images on top of each other. As the mouse moves, the width of the left one changes accordingly.
Works but not responsive
The problem is I want to center the background image regardless of the v... | https://stackoverflow.com/questions/75715736/center-revealing-slider-background-image | javascript, html, css, image | 1,678,648,519 |
se_48677938 | stackoverflow | FRONTEND_DEVELOPMENT | HTML5 Landing Site | HTML5 Landing Site
I am trying to make a landing page for a basic site to host my CV amongst other things. I have used a basic template and am having an issue finding why a blank white space is appearing at the bottom of the page. The HTML and CSS is below:
(I have been looking through and can't seem to see what is ca... | https://stackoverflow.com/questions/48677938/html5-landing-site | javascript, html, css | 1,518,066,385 |
se_50632346 | stackoverflow | FRONTEND_DEVELOPMENT | How to simulate real world dimensions in css? | How to simulate real world dimensions in css?
I want to make a website, where an object which has for example a width of 100mm, is displayed with that width no matter what resolution the monitor or smartphone has.
For that reason I'm asking the user for his display dimensions to calculate the right ppi. However it d... | https://stackoverflow.com/questions/50632346/how-to-simulate-real-world-dimensions-in-css | html, css, units-of-measurement, ppi | 1,527,798,711 |
se_79992032 | stackoverflow | FRONTEND_DEVELOPMENT | How can I automatically scale a web application for different screen resolutions and display scaling? | How can I automatically scale a web application for different screen resolutions and display scaling?
I am using Bootstrap via CDN, and I use my web application across three different monitors. Since the monitors have different resolutions and scaling settings, the application appears at different sizes on each screen... | https://stackoverflow.com/questions/79992032/how-can-i-automatically-scale-a-web-application-for-different-screen-resolutions | javascript, css, responsive-design, bootstrap-5 | 1,786,390,142 |
se_47753982 | stackoverflow | FRONTEND_DEVELOPMENT | How to take a user's keyboard input and display it on the screen where they type | How to take a user's keyboard input and display it on the screen where they type
I want to have it so the user can click on an image, and where he clicked, type something, and that text will stay there. I currently have it where I can display an black box, but I need it so the user can type info next to the box.
I... | https://stackoverflow.com/questions/47753982/how-to-take-a-users-keyboard-input-and-display-it-on-the-screen-where-they-type | javascript, html, css | 1,512,998,699 |
se_49122503 | stackoverflow | FRONTEND_DEVELOPMENT | How to create a bubble carousel? | How to create a bubble carousel?
On this Google open source project page, you will see a bubble carousel. There is one big bubble in the center and a lot of small bubbles moving around the big one. There are left and right arrows where you can click on, and it will animate in one of the small bubble into the big one. ... | https://stackoverflow.com/questions/49122503/how-to-create-a-bubble-carousel | javascript, html, css | 1,520,303,371 |
se_47258124 | stackoverflow | FRONTEND_DEVELOPMENT | How do I make my site background change every X seconds? | How do I make my site background change every X seconds?
I have a simple page, with a background using the tag:
body { background-image: url("bgimage.jpg"); }
How do I make that image switch to a different image every (x) seconds?
I want the background to be kind of a slide show in a way.. | https://stackoverflow.com/questions/47258124/how-do-i-make-my-site-background-change-every-x-seconds | javascript, html, css | 1,510,553,717 |
se_47250548 | stackoverflow | FRONTEND_DEVELOPMENT | Sunrise Alarm Clock - Web site | Sunrise Alarm Clock - Web site
My friend got a "sunrise alarm clock" which when it's time to wake up becomes brighter to simulate a sunrise to ease waking up.
I thought I could do the same with my laptop, however I've been struggling with getting JavaScript time to work. I'd appreciate any help in getting this thing t... | https://stackoverflow.com/questions/47250548/sunrise-alarm-clock-web-site | javascript, html, css | 1,510,500,724 |
se_46803790 | stackoverflow | FRONTEND_DEVELOPMENT | How to create Link Loadpage on header, without load? | How to create Link Loadpage on header, without load?
How do I create a link with loading above, without reloading the refresh section (in the browser).
And what is the name of the technique?
Example : https://phpsound.com/demo/track/17/im-waiting-for-you | https://stackoverflow.com/questions/46803790/how-to-create-link-loadpage-on-header-without-load | javascript, html, css | 1,508,306,899 |
se_19974902 | stackoverflow | FRONTEND_DEVELOPMENT | Change background-color of html5 video element | Change background-color of html5 video element
I've got the following website:
beta.leifsigersen.com
There's a movie on the front page which sometimes takes a little while to load (sometimes less than a second, sometimes a few seconds). Before the movie is loaded there's black background/borders. How can I change the... | https://stackoverflow.com/questions/19974902/change-background-color-of-html5-video-element | html, css, html5-video | 1,384,423,962 |
se_8079115 | stackoverflow | FRONTEND_DEVELOPMENT | How to use css focus? | How to use css focus?
I am familiar with using css and the 'hover' feature but I am interested in knowing how to use an on click feature.
So to begin with to use the hover feature you can have:
#test {
background: black;
height: 100px;
width: 100px;
}
and then when the mouse 'hovers' over I want it to turn white
#tes... | https://stackoverflow.com/questions/8079115/how-to-use-css-focus | html, css, hover | 1,320,926,126 |
se_49009914 | stackoverflow | FRONTEND_DEVELOPMENT | Use SVG image inline inside CSS :before pseudo-element | Use SVG image inline inside CSS :before pseudo-element
I have a simple SVG image:
<svg width="auto" height="10px" viewBox="0 0 80 20" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<path d="M0 0 H 20 L 10 20 Z" fill="yellow"></path>
<path d="M30 20 H 50 L 40 0 Z" fill="black"></... | https://stackoverflow.com/questions/49009914/use-svg-image-inline-inside-css-before-pseudo-element | html, css, svg, sass | 1,519,738,351 |
se_42914810 | stackoverflow | FRONTEND_DEVELOPMENT | WordPress: JavaScript 'loaded' but not working with console errors | WordPress: JavaScript 'loaded' but not working with console errors
I'm just familiarising myself with WordPress and enqueuing scripts so I'd appreciate some help with this. I'll try and give as much detail as possible.
It's worth nothing that all this scripts and how they're loaded work fine in my html templat... | https://stackoverflow.com/questions/42914810/wordpress-javascript-loaded-but-not-working-with-console-errors | javascript, php, jquery, css, wordpress | 1,490,047,413 |
se_15865982 | stackoverflow | FRONTEND_DEVELOPMENT | It is possible to expand a textarea only with CSS? | It is possible to expand a textarea only with CSS?
I have a textarea with 200px of height, but when I pass that 200px with text I want to have the textarea expanded instead of keeping the 200px of height with a scroll bar.
It is possible to do that only with CSS? | https://stackoverflow.com/questions/15865982/it-is-possible-to-expand-a-textarea-only-with-css | html, css | 1,365,358,472 |
se_15381172 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make Flexbox children 100% height of their parent? | How can I make Flexbox children 100% height of their parent?
I'm trying to fill the vertical space of a flex item inside a Flexbox.
.container {
height: 200px;
width: 500px;
display: flex;
flex-direction: row;
}
.flex-1 {
width: 100px;
background-color: blue;
}
.flex-2 {
position: relativ... | https://stackoverflow.com/questions/15381172/how-can-i-make-flexbox-children-100-height-of-their-parent | css, flexbox | 1,363,166,340 |
se_65456941 | stackoverflow | FRONTEND_DEVELOPMENT | How to make an entire edge of a div resizable? | How to make an entire edge of a div resizable?
I am currently aware of the resize handle appearing at the bottom right of a DIV using the CSS property resizable: horizontal;
I'm not sure if this a browser only thing but in Firefox, the handle only appears at the bottom-right, and it works only when we drag that specif... | https://stackoverflow.com/questions/65456941/how-to-make-an-entire-edge-of-a-div-resizable | javascript, html, css | 1,608,989,842 |
se_31009266 | stackoverflow | FRONTEND_DEVELOPMENT | Sphinx and accordion list with CSS | Sphinx and accordion list with CSS
I try to implement an accordion list of headers of functions in a Sphinx template. Now every functions are described on one page without the ability of hiding some of them. I think it would be very convenient feature.
I'm using template "bootstrap" (but what it is in doesn't matter I... | https://stackoverflow.com/questions/31009266/sphinx-and-accordion-list-with-css | css, accordion, jinja2, python-sphinx | 1,435,079,719 |
se_79990825 | stackoverflow | FRONTEND_DEVELOPMENT | How can different parts of a HTML Text node be formatted differently? | How can different parts of a HTML Text node be formatted differently?
On this site, different parts of a simple <div> are rendered with different styles. Here is the <div>:
<div class="ods-price__value" data-v-b273d44f="">4.99*</div>
It looks like instead of . As you can see, the two characters after . are somehow i... | https://stackoverflow.com/questions/79990825/how-can-different-parts-of-a-html-text-node-be-formatted-differently | html, css, fonts, opentype, ligature | 1,785,964,294 |
se_32875 | stackoverflow | FRONTEND_DEVELOPMENT | What are browsers' default CSS stylesheets? | What are browsers' default CSS stylesheets?
What are the default CSS stylesheets that browsers use as the base before user and website styles are taken into account?
As my immediate problem, I want to know the default font of text areas across all browsers for future reference. Knowing how to find the answer for o... | https://stackoverflow.com/questions/32875/what-are-browsers-default-css-stylesheets | css, browser, fonts, stylesheet, default | 1,219,944,989 |
se_2213881 | stackoverflow | FRONTEND_DEVELOPMENT | Is it possible to achieve a <fieldset>-like effect without using the <fieldset> tag? | Is it possible to achieve a <fieldset>-like effect without using the <fieldset> tag?
I personally like the <fieldset> tag because of how it draws a box and puts the <legend> at the top of it, over the border. Like this.
However, the fieldset element was made to organize forms, and using it for general d... | https://stackoverflow.com/questions/2213881/is-it-possible-to-achieve-a-fieldset-like-effect-without-using-the-fieldset | html, css, fieldset | 1,265,475,999 |
se_17838607 | stackoverflow | FRONTEND_DEVELOPMENT | Making an iframe responsive | Making an iframe responsive
I was reading Can You Make an iFrame Responsive?, and one of the comments/answers led me to this JSFiddle.
But when I tried to implement the HTML and CSS to fit my needs, I didn't have the same results/success. I created my own JSFiddle so I could show you how it doesn't work the same for m... | https://stackoverflow.com/questions/17838607/making-an-iframe-responsive | css, iframe, responsive-design | 1,374,680,054 |
se_2076109 | stackoverflow | FRONTEND_DEVELOPMENT | How to avoid a new line with the 'p' tag | How to avoid a new line with the 'p' tag
How can I stay on the same line while working with the <p> tag?
I want to create a carousel with an image and text. | https://stackoverflow.com/questions/2076109/how-to-avoid-a-new-line-with-the-p-tag | html, css | 1,263,613,390 |
se_75981738 | stackoverflow | FRONTEND_DEVELOPMENT | Displaying photos that fill the grid - regardless of aspect ratio | Displaying photos that fill the grid - regardless of aspect ratio
I am trying to create a photo gallery as a home learning project in react. I am able to display the photos in a grid:
Using this code:
const Container = styled.div`
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
grid-gap: 1... | https://stackoverflow.com/questions/75981738/displaying-photos-that-fill-the-grid-regardless-of-aspect-ratio | html, css | 1,681,175,127 |
se_36999856 | stackoverflow | FRONTEND_DEVELOPMENT | apply CSS to google maps iframe | apply CSS to google maps iframe
I'm trying to apply css to google maps iframe in order to get rid of that ugly banner:
But I don't find a way to link my stylesheet to that iframe.. Is there any way to do that?
Thanks in advance! | https://stackoverflow.com/questions/36999856/apply-css-to-google-maps-iframe | css, google-maps | 1,462,266,053 |
se_79989207 | stackoverflow | FRONTEND_DEVELOPMENT | Magic The Gathering card border relief with CSS | Magic The Gathering card border relief with CSS
I want to reproduce Magic The Gathering's cards with HTML and CSS, but I don't know how to recreate the card border relief on some of their visual components, such as the creature type:
How to do it? Here's the simple example project I've created to work on this; the re... | https://stackoverflow.com/questions/79989207/magic-the-gathering-card-border-relief-with-css | html, css | 1,785,418,588 |
se_62467815 | stackoverflow | FRONTEND_DEVELOPMENT | In CSS, briefly flash the bg of an element | In CSS, briefly flash the bg of an element
I am making a dirt simple web page, with simple functionality in vanilla JavaScript. Every now and then I change the innerHTML of a <span>. Is there an easy way to “flash” this span? That is, the background should briefly turn — for example — red, and then fade back to the de... | https://stackoverflow.com/questions/62467815/in-css-briefly-flash-the-bg-of-an-element | javascript, html, css, animation | 1,592,560,845 |
se_79941955 | stackoverflow | FRONTEND_DEVELOPMENT | Stuck in tutorial hell after 4 years: How do I build web sites and think independently? | Stuck in tutorial hell after 4 years: How do I build web sites and think independently?
I have been coding for about 4 years now. I have watched numerous courses and followed many tutorials, but I am facing a major roadblock: I still can't build beneficial web sites or figure out how to think like a developer on my ow... | https://stackoverflow.com/questions/79941955/stuck-in-tutorial-hell-after-4-years-how-do-i-build-web-sites-and-think-indepen | javascript, html, css | 1,778,880,200 |
se_57271328 | stackoverflow | FRONTEND_DEVELOPMENT | Write a ublock filter rule for a parent element based on content of a child element | Write a ublock filter rule for a parent element based on content of a child element
I want to write a ublock filter to hide a list element that has a certain class and content, while I don't want to hide other list items that don't have this content:
class = "mp-Listing-priority"
content is "Topad"
This is the html ... | https://stackoverflow.com/questions/57271328/write-a-ublock-filter-rule-for-a-parent-element-based-on-content-of-a-child-elem | html, css, filter, css-selectors | 1,564,488,582 |
se_79991607 | stackoverflow | FRONTEND_DEVELOPMENT | How do I disable the default iOS form styling in place of my CSS? | How do I disable the default iOS form styling in place of my CSS?
I'm trying to customize some form elements (input, button, select, etc.) with CSS to apply a glassmorphism effect, although it appears that on iOS a white background is slid under it which makes all the form elements unreadable. Here is what I have trie... | https://stackoverflow.com/questions/79991607/how-do-i-disable-the-default-ios-form-styling-in-place-of-my-css | html, css, forms, input, safari | 1,786,216,441 |
se_75489738 | stackoverflow | FRONTEND_DEVELOPMENT | Using Tailwind CSS, how do I make the width and height of a page always fit the screen? | Using Tailwind CSS, how do I make the width and height of a page always fit the screen?
I'm using Tailwind CSS to design my website and I keep running into an issue while creating my layout: the page is always wider and taller than the size of the screen. If you've ever had this happen before, you know how annoying it... | https://stackoverflow.com/questions/75489738/using-tailwind-css-how-do-i-make-the-width-and-height-of-a-page-always-fit-the | css, tailwind-css | 1,676,672,380 |
se_54521899 | stackoverflow | FRONTEND_DEVELOPMENT | syntax error in visual studio code "expected [css-rcurlyexpected]" | syntax error in visual studio code "expected [css-rcurlyexpected]"
I am getting [scss] } expected [css-rcurlyexpected] error in visual code for the commented line. Does anybody know why ?
@keyframes wordSlider {
$steps: -0%, -25%, -50%, -75%;
@for $index from 0 to length($steps)-1 {
$next: $index + ... | https://stackoverflow.com/questions/54521899/syntax-error-in-visual-studio-code-expected-css-rcurlyexpected | css, sass, css-transitions, css-animations | 1,549,303,584 |
se_19374053 | stackoverflow | FRONTEND_DEVELOPMENT | Myriad pro font is not shown properly | Myriad pro font is not shown properly
I have used myriad pro font in my website and this font is uploaded on server and i have given link for this font as below
@font-face{
font-family: "Myriad-Pro";
src: url(http://www.anaveer.in/honda/font/MYRIADPRO-REGULAR.OTF) format("truetype");
}
but still this font... | https://stackoverflow.com/questions/19374053/myriad-pro-font-is-not-shown-properly | css | 1,381,815,976 |
se_15600772 | stackoverflow | FRONTEND_DEVELOPMENT | How can I align align text from top of a div? | How can I align align text from top of a div?
I have problem with my text align from divs top. How can I make text align vertically from center of .txt div?
#content #main #services {
width: 1010px;
height: auto;
min-height: 320px;
margin: 50px auto;
}
#content #main #services .langelis {
width: 510px;
... | https://stackoverflow.com/questions/15600772/how-can-i-align-align-text-from-top-of-a-div | css, html, text, alignment | 1,364,141,286 |
se_42470181 | stackoverflow | FRONTEND_DEVELOPMENT | Alternative to transform: scale() in CSS? | Alternative to transform: scale() in CSS?
I think everyone is aware of the fact that all the elements with CSS property position: fixed do not work as expected if the container of an element is decorated with transform property of CSS.
I went through many threads to find no specific solution to this question. I mean I... | https://stackoverflow.com/questions/42470181/alternative-to-transform-scale-in-css | html, angularjs, css | 1,488,121,873 |
se_77073010 | stackoverflow | FRONTEND_DEVELOPMENT | Center image and have left/right for next/previous images using predefined pages | Center image and have left/right for next/previous images using predefined pages
I want to add a large < and > either on both sides, or centered below an image without changing the image's location or size. The < and > need to point to the next/previous image with just an "a href".
I tried multiple suggestions on here... | https://stackoverflow.com/questions/77073010/center-image-and-have-left-right-for-next-previous-images-using-predefined-pages | html, css | 1,694,275,578 |
se_79991207 | stackoverflow | FRONTEND_DEVELOPMENT | CSS for display with flex across multiple browsers? | CSS for display with flex across multiple browsers?
I'm using flex for a drop-down menu. I want the desktop display to be as viewed on Firefox, to be the same on other browsers (Chrome, Safari, etc.) Hamburger menu displays fine on all mobile environments tested.
on Firefox
on Chrome
(menu items stacked vertically o... | https://stackoverflow.com/questions/79991207/css-for-display-with-flex-across-multiple-browsers | html, css, flexbox, webkit | 1,786,076,149 |
se_24929317 | stackoverflow | FRONTEND_DEVELOPMENT | angular animated sliding panel - shows for second when view loaded | angular animated sliding panel - shows for second when view loaded
i'm trying to build animated vertical panel which suppose to be hidden
and when user clicks button -panel should slide from the right.
here is my code:
HTML :
<body ng-controller="Ctrll">
<p style="color:#000;margin:0"><span>slide:</span>{{slid... | https://stackoverflow.com/questions/24929317/angular-animated-sliding-panel-shows-for-second-when-view-loaded | angularjs, css, animation | 1,406,192,262 |
se_50824181 | stackoverflow | FRONTEND_DEVELOPMENT | Preloading Google Fonts | Preloading Google Fonts
Light House audit is suggesting that I preload key requests, specifically the two google fonts that I'm using in my React app. A Light House member suggested using:
<link rel="preload" as="style" href="https://fonts.googleapis.com/css?family=Open+Sans|Roboto:700" crossorigin>
<link rel="precon... | https://stackoverflow.com/questions/50824181/preloading-google-fonts | javascript, html, css, reactjs, lighthouse | 1,528,830,433 |
se_20550503 | stackoverflow | FRONTEND_DEVELOPMENT | CSS Horizontal Rule to be full width & adjust to screen size | CSS Horizontal Rule to be full width & adjust to screen size
I am truly stuck with this, basically I am using wordpress, and want a horizontal line to go across the page (breaking out of the inside container). This line should adjust to the screen size, so if you zoom out the line should keep getting longer, basic... | https://stackoverflow.com/questions/20550503/css-horizontal-rule-to-be-full-width-adjust-to-screen-size | html, css, wordpress, containers | 1,386,870,265 |
se_8131700 | stackoverflow | FRONTEND_DEVELOPMENT | How can I control the expansion direction of a drop-down list? | How can I control the expansion direction of a drop-down list?
How can I control the expansion direction of a drop-down list? I've got a long list on the right side of the page that goes off the page because it expands right. Can I make it expand to the left? | https://stackoverflow.com/questions/8131700/how-can-i-control-the-expansion-direction-of-a-drop-down-list | javascript, html, css, drop-down-menu | 1,321,333,264 |
se_79990317 | stackoverflow | FRONTEND_DEVELOPMENT | Classic scrollbar width getters not working on Firefox | Classic scrollbar width getters not working on Firefox
I have this function:
function getScrollbarWidth() {
// Creating invisible container
const outer = document.createElement("div");
outer.style.visibility = "hidden";
outer.style.overflow = "scroll"; // forcing scrollbar to appear
document.body... | https://stackoverflow.com/questions/79990317/classic-scrollbar-width-getters-not-working-on-firefox | javascript, css, firefox | 1,785,831,882 |
se_4844387 | stackoverflow | FRONTEND_DEVELOPMENT | Set parent's height based on child's | Set parent's height based on child's
I have a structure that I want to repeat with different content each time. Here's the code (for a web version of a script):
<div id="1_0" class="lineblock"><div class="whosays"><span>CHARACTER:</span></div><div class="whatsaid"><span>Line...</span></div></div>
The content ... | https://stackoverflow.com/questions/4844387/set-parents-height-based-on-childs | html, css | 1,296,409,002 |
se_43832807 | stackoverflow | FRONTEND_DEVELOPMENT | How can I create a transparent background for discord with CSS? | How can I create a transparent background for discord with CSS?
I am at my first year programming and just learning Java this is why I am completly lost with CSS and need help.
I want to edit this code (not mine)
===== CUSTOMIZABLE COLORS =====
:root {
main-color: #057F95;
hover-color: #045B6B;
}
===== CUSTOMIZABL... | https://stackoverflow.com/questions/43832807/how-can-i-create-a-transparent-background-for-discord-with-css | css, background, transparent, discord | 1,494,168,070 |
se_15844868 | stackoverflow | FRONTEND_DEVELOPMENT | Can I make a textarea grow with text to a max height? | Can I make a textarea grow with text to a max height?
I'm working on a project where I have data in divs that can be various sizes. When a user clicks on one of the divs, it needs to turn into an editable textarea. The width is constant, but I'd like the height to start as the height of the original div and then grow ... | https://stackoverflow.com/questions/15844868/can-i-make-a-textarea-grow-with-text-to-a-max-height | html, css, textarea | 1,365,202,106 |
se_6121203 | stackoverflow | FRONTEND_DEVELOPMENT | How to do fade-in and fade-out with JavaScript and CSS | How to do fade-in and fade-out with JavaScript and CSS
I want to make an HTML div tag fade in and fade out.
I have some code that fades out, but when I fade in, the opacity of the div stays at 0.1 and doesn't increase.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1... | https://stackoverflow.com/questions/6121203/how-to-do-fade-in-and-fade-out-with-javascript-and-css | javascript, css, xhtml | 1,306,309,875 |
se_79846465 | stackoverflow | FRONTEND_DEVELOPMENT | Why is my header moved to the right and not centered? | Why is my header moved to the right and not centered?
I am building my first website and cannot figure out why the header moved to the right. This is my first time doing something like this and just making the navbar took me a while but when I add the hero image, the hero and the header are not aligned and I'm not sur... | https://stackoverflow.com/questions/79846465/why-is-my-header-moved-to-the-right-and-not-centered | html, css, header, nav | 1,765,617,710 |
se_7738117 | stackoverflow | FRONTEND_DEVELOPMENT | HTML text-overflow ellipsis detection | HTML text-overflow ellipsis detection
I have some elements on my page which have the CSS rules white-space, overflow, text-overflow set, so that overflowing text is trimmed and an ellipsis is used.
div {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
border: 1px solid black;
width: 150p... | https://stackoverflow.com/questions/7738117/html-text-overflow-ellipsis-detection | javascript, html, css, overflow, ellipsis | 1,318,412,606 |
se_32620429 | stackoverflow | FRONTEND_DEVELOPMENT | How to make :focus, :active be the same as :hover | How to make :focus, :active be the same as :hover
Is there any simple way make :focus & :active behave as :hover?
Usually I write:
.class a:hover, .class a:active, .class a:focus {...}
But I would like to write just a single :hover rule and :focus & :active will look the same
.class a:hover {...} | https://stackoverflow.com/questions/32620429/how-to-make-focus-active-be-the-same-as-hover | css, css-selectors, pseudo-class | 1,442,446,548 |
se_6055987 | stackoverflow | FRONTEND_DEVELOPMENT | Problem implementing :active in CSS button | Problem implementing :active in CSS button
I would like to use :active to make the color of the current button's background and text highlighted.
I tried to use a <li> tag inside an <a> tag to make sure the button background and text color change while selected. However, the text color did not change when I selected t... | https://stackoverflow.com/questions/6055987/problem-implementing-active-in-css-button | html, css | 1,305,794,597 |
se_22217992 | stackoverflow | FRONTEND_DEVELOPMENT | bootstrap icon for username and password | bootstrap icon for username and password
I am designing login page. Here I am adding icons for username and password, when I add icons along with icons someother icons also adding how to resolve this . Here is my code.
<div class="left-inner-addon ">
<i class="icon-user"></i>
<input type="text... | https://stackoverflow.com/questions/22217992/bootstrap-icon-for-username-and-password | css, twitter-bootstrap, icons | 1,394,091,246 |
se_56573206 | stackoverflow | FRONTEND_DEVELOPMENT | Click and Hold then redirecting the page | Click and Hold then redirecting the page
Help me identify what's wrong, I want the page to be redirected after a certain amount of time, let's say 2 sec, clicking and holding the button, but if the amount of time hasn't exceeded 2 sec, the timer reset. And the page only redirected only after the button released.
in h... | https://stackoverflow.com/questions/56573206/click-and-hold-then-redirecting-the-page | html, css, jss | 1,560,398,487 |
se_79936457 | stackoverflow | FRONTEND_DEVELOPMENT | Telling an <img> to auto adjust its height based on sibling height | Telling an <img> to auto adjust its height based on sibling height
I have a loop of wordpress posts - each post is a horizontal flex container with an <img> on the left and a <div> on the right with content of variable height (posts flow one below another). i want to have a fixed width on the img (326px) and a h... | https://stackoverflow.com/questions/79936457/telling-an-img-to-auto-adjust-its-height-based-on-sibling-height | html, css, wordpress | 1,777,987,060 |
se_67104055 | stackoverflow | FRONTEND_DEVELOPMENT | How to make a sidebar sticky and keep it below the navbar in bootstrap 4? | How to make a sidebar sticky and keep it below the navbar in bootstrap 4?
I have a site that has a bootstrap 4 navbar on top, which has the class "sticky-top". It does not have a fixed height, as far as I know. Below that I have a container-fuid div and in it a sidebar on the left and a main div to the right. I would ... | https://stackoverflow.com/questions/67104055/how-to-make-a-sidebar-sticky-and-keep-it-below-the-navbar-in-bootstrap-4 | css, bootstrap-4 | 1,618,471,641 |
se_46504563 | stackoverflow | FRONTEND_DEVELOPMENT | Space between items in bootstrap | Space between items in bootstrap
I am using bootstrap 4 and i have a list of items that i display like this :
<div class="container">
<div class="row">
<div class="card col-md-4 col-sm-6 col-12 item-wr" *ngFor="let item of items">
...
</div>
</div>
</div>
In my desktop view with Google Chrom... | https://stackoverflow.com/questions/46504563/space-between-items-in-bootstrap | html, css, twitter-bootstrap, angular, bootstrap-4 | 1,506,787,619 |
se_16176346 | stackoverflow | FRONTEND_DEVELOPMENT | What color do disabled text-boxes in html uses? | What color do disabled text-boxes in html uses?
my question says it all. I'm interested in the text color and the background color that disabled text-boxes in HTML use ( the entire CSS a disabled text-box use is also welcomed ). I need this so I would match the color settings of some readonly text-boxes with the color... | https://stackoverflow.com/questions/16176346/what-color-do-disabled-text-boxes-in-html-uses | html, css, colors | 1,366,740,900 |
se_5232310 | stackoverflow | FRONTEND_DEVELOPMENT | How can I force div contents to stay in one line without changing display to inline? | How can I force div contents to stay in one line without changing display to inline?
I have a long text inside a div with defined width:
HTML:
<div>Stack Overflow is the BEST!!!</div>
CSS:
div {
border: 1px solid black;
width: 70px;
}
How could I force the string to stay in one line (i.e., to be cut in the m... | https://stackoverflow.com/questions/5232310/how-can-i-force-div-contents-to-stay-in-one-line-without-changing-display-to-inl | html, css | 1,299,586,564 |
se_23644652 | stackoverflow | FRONTEND_DEVELOPMENT | Is indention in code affect to website reading of code? | Is indention in code affect to website reading of code?
I have a problem. I am creating website and it is working well. But my boss told me that I shouldn't indent my codes because it can affect memory space because it reads the spaces or every indention in the code? Is this true? If yes can you provide me a reference... | https://stackoverflow.com/questions/23644652/is-indention-in-code-affect-to-website-reading-of-code | html, css | 1,400,034,283 |
se_77221668 | stackoverflow | FRONTEND_DEVELOPMENT | Dealing with CSS Conflicts in a Third-Party Integration Widget - ReactJS - Tailwindcss | Dealing with CSS Conflicts in a Third-Party Integration Widget - ReactJS - Tailwindcss
I'm currently developing a web widget that's meant to be integrated into third-party websites.
The widget uses tailwindcss with prefixed class names and includes a CSS reset with preflight. However, I'm encountering a CSS conflict i... | https://stackoverflow.com/questions/77221668/dealing-with-css-conflicts-in-a-third-party-integration-widget-reactjs-tailw | css, tailwind-css | 1,696,330,746 |
se_79990551 | stackoverflow | FRONTEND_DEVELOPMENT | How to automatically change width of div based on number of certain children using no js | How to automatically change width of div based on number of certain children using no js
I feel like there should be a way to do this. How would I dynamically change the width of the #main based of the amount of .content? I believe I'd have to use :has() and the nth-child selector, as well as somehow counting it in a ... | https://stackoverflow.com/questions/79990551/how-to-automatically-change-width-of-div-based-on-number-of-certain-children-usi | html, css | 1,785,888,503 |
se_30580736 | stackoverflow | FRONTEND_DEVELOPMENT | Angularjs changing class on mouseenter (hover) | Angularjs changing class on mouseenter (hover)
I have the following ng-repeat that displays a star whether or not item.default is equal to true
<div ng-repeat="item in items">
<i class="fa" ng-class="item.default == true ? 'fa-star' : 'fa-star-o'"></i>
</div>
I am using fontawesome and I wanted to do the followin... | https://stackoverflow.com/questions/30580736/angularjs-changing-class-on-mouseenter-hover | javascript, css, angularjs, angularjs-ng-repeat | 1,433,183,708 |
se_8009587 | stackoverflow | FRONTEND_DEVELOPMENT | How to create parcel tag shapes using CSS? | How to create parcel tag shapes using CSS?
I am trying to make the shape below in CSS. How can I do this? I am talking about the tag like shapes that are yellow.
Also secondly does anyone know how to make a shape with CSS that is a square/rectangle that has two rounded edges at the bottom but right angled corners at ... | https://stackoverflow.com/questions/8009587/how-to-create-parcel-tag-shapes-using-css | html, css | 1,320,411,888 |
se_31983239 | stackoverflow | FRONTEND_DEVELOPMENT | change background color of div on button click | change background color of div on button click
In my code behind i am generating html string
<a href='#' class='my-post' onclick='myFunc(" + Id + ")'>
<div class='my-idea'>
<span >23</span>
<span class='heart'></span>
</div>
</a>
I have implemented myFunc function in code behind as below
... | https://stackoverflow.com/questions/31983239/change-background-color-of-div-on-button-click | c#, html, css | 1,439,454,818 |
se_46247933 | stackoverflow | FRONTEND_DEVELOPMENT | Loaded html not fetching JavaScript files | Loaded html not fetching JavaScript files
I have a html page which dynamically loads the contents of another html file into a div.
function loadHTML(url, id) {
req = new XMLHttpRequest();
req.open('GET', url);
req.send();
req.onload = () => {
console.log(req.responseText);
document.getE... | https://stackoverflow.com/questions/46247933/loaded-html-not-fetching-javascript-files | javascript, html, css | 1,505,512,478 |
se_34286460 | stackoverflow | FRONTEND_DEVELOPMENT | JQuery does not work in Firefox but works in Chrome | JQuery does not work in Firefox but works in Chrome
I'm having trouble with jQuery and Mozzila Firefox.
Everything is working just fine in Chrome, but somehow Firefox does not see jQuery.
This is how I call jQuery
<!-- Favicon and touch icons -->
<link rel="shortcut icon" href="assets/ico/favicon.png">
<... | https://stackoverflow.com/questions/34286460/jquery-does-not-work-in-firefox-but-works-in-chrome | javascript, jquery, css, google-chrome, firefox | 1,450,174,587 |
se_33130593 | stackoverflow | FRONTEND_DEVELOPMENT | CSS-only Solution To An Autosizing Select | CSS-only Solution To An Autosizing Select
By default, selects will adopt a width allowing for the widest option. In a situation with lots of short options and one long one, this leaves loads of whitespace when a short option is selected.
Is there any CSS-only way of having the select adopt the width of the selected o... | https://stackoverflow.com/questions/33130593/css-only-solution-to-an-autosizing-select | css, forms, width, html-select | 1,444,839,541 |
se_76818237 | stackoverflow | FRONTEND_DEVELOPMENT | What is :not(style) ~ :not(style) in CSS? | What is :not(style) ~ :not(style) in CSS?
Mui automatically added a :not(style) ~ :not(style) which I needed an !important to override in my sx.
.css-1rb8ayf-MuiStack-root > :not(style) ~ :not(style) {
margin-top: 40px;
}
.css-d13d9m-MuiStack-root {
display: flex;
flex-direction: column;
margin-top: 0 !import... | https://stackoverflow.com/questions/76818237/what-is-notstyle-notstyle-in-css | css, material-ui | 1,690,966,873 |
se_4916338 | stackoverflow | FRONTEND_DEVELOPMENT | CSS / XHTML: Left floating DIVs with equal heights when height is set to 100% | CSS / XHTML: Left floating DIVs with equal heights when height is set to 100%
I have a few floating div elements that are floating left. They all have a height of 100%. One of the divs exceeds the height of the view port and the other divs do not resize to 100% of the parent DIV which has a position of relative set (w... | https://stackoverflow.com/questions/4916338/css-xhtml-left-floating-divs-with-equal-heights-when-height-is-set-to-100 | html, css, xhtml, floating | 1,297,028,411 |
se_28576636 | stackoverflow | FRONTEND_DEVELOPMENT | Mouse click and Drag Instead of Horizontal Scroll bar (To view full content of child DIV) | Mouse click and Drag Instead of Horizontal Scroll bar (To view full content of child DIV)
I need Mouse click and Drag instead of Horizontal scroll bar.
When i click and drag the child div that should move on left/right respect to dragging direction.
Any solution with css or jquery/JS
My code:
.parent {
width: 300... | https://stackoverflow.com/questions/28576636/mouse-click-and-drag-instead-of-horizontal-scroll-bar-to-view-full-content-of-c | javascript, jquery, html, css | 1,424,237,487 |
se_79972825 | stackoverflow | FRONTEND_DEVELOPMENT | How to stop padded link from folding on itself? | How to stop padded link from folding on itself?
I'm making a legend for my website, and whenever I have an entry with a space, it folds in on itself. Does anyone know how to make it space normally within the entry, like the others?
JSFiddle: https://jsfiddle.net/ts9kvna7/2/
#Legend {
margin: 0px;
overflow-x: hid... | https://stackoverflow.com/questions/79972825/how-to-stop-padded-link-from-folding-on-itself | html, css | 1,783,039,630 |
se_70019455 | stackoverflow | FRONTEND_DEVELOPMENT | Baseline Alignment of Input and Labels in CSS Grid | Baseline Alignment of Input and Labels in CSS Grid
I'm trying to build a form using a CSS grid layout. Labels appear in the left column and inputs in the right. The align-items property is set to baseline. In Chrome, the text of the labels and inputs are vertically aligned on their baseline. But in Firefox v94, the la... | https://stackoverflow.com/questions/70019455/baseline-alignment-of-input-and-labels-in-css-grid | css, alignment, css-grid, baseline | 1,637,236,851 |
se_53251958 | stackoverflow | FRONTEND_DEVELOPMENT | How do I clear and change background colour of a canvas? | How do I clear and change background colour of a canvas?
Background colour has to be changed with the colour I'm drawing with.
So if i'm drawing with the colour red on the canvas I want to click the clear button and the canvas div will clear all the drawings and change the background colour to red.
Here is what I ha... | https://stackoverflow.com/questions/53251958/how-do-i-clear-and-change-background-colour-of-a-canvas | javascript, html, css, html5-canvas | 1,541,961,719 |
se_31623479 | stackoverflow | FRONTEND_DEVELOPMENT | Create unique id in each click of button using jQuery/JavaScript | Create unique id in each click of button using jQuery/JavaScript
I want to create unique id in each click of button using jQuery. I am creating file field by clicking on a button here I need first file field's id will remain constant(i.e-fileid) as it is when user will click on a button and the next file field will cr... | https://stackoverflow.com/questions/31623479/create-unique-id-in-each-click-of-button-using-jquery-javascript | javascript, jquery, css | 1,437,803,951 |
se_79989756 | stackoverflow | FRONTEND_DEVELOPMENT | Anchoring a button when the button is inside a scroll content | Anchoring a button when the button is inside a scroll content
I am in a situation where I have a table and button that is inside a scrollable container. When I scroll right, the button moves to the left. I want the button to stay in the same place (bottom right of the container). Is it possible to make the button stay... | https://stackoverflow.com/questions/79989756/anchoring-a-button-when-the-button-is-inside-a-scroll-content | html, css, html-table | 1,785,611,837 |
se_47604663 | stackoverflow | FRONTEND_DEVELOPMENT | Auto adjust height of the panel based on div height bootstrap | Auto adjust height of the panel based on div height bootstrap
I am newbie to front end development..
We are building a one page app and we have two panels.
Panel at the top contains a input text for search and below the input text is a ag-grid with pagination.
When user clicks on some of the cell values in the gri... | https://stackoverflow.com/questions/47604663/auto-adjust-height-of-the-panel-based-on-div-height-bootstrap | html, css, twitter-bootstrap, angular | 1,512,189,670 |
se_46633323 | stackoverflow | FRONTEND_DEVELOPMENT | My picture slideshow is not cooperating with my footer. Part of the slideshow is behind the footer and it won't scroll down | My picture slideshow is not cooperating with my footer. Part of the slideshow is behind the footer and it won't scroll down
I copied over a JavaScript picture slideshow and placed it in section tags inside the body. When I go to preview the site, a portion of the slideshow is behind my <footer> and I can't view it... | https://stackoverflow.com/questions/46633323/my-picture-slideshow-is-not-cooperating-with-my-footer-part-of-the-slideshow-is | javascript, html, css | 1,507,479,686 |
se_46395387 | stackoverflow | FRONTEND_DEVELOPMENT | Vanilla JavaScript animate margin-left of section | Vanilla JavaScript animate margin-left of section
I'm having an issue getting my slider to work. It's a simple system of clicking buttons to get to and from sections but I'm having issues getting it to work.
I have made a codepen here: https://codepen.io/ItsBrianAgar/pen/JrbZEz
This is the js I have so far.
It needs ... | https://stackoverflow.com/questions/46395387/vanilla-javascript-animate-margin-left-of-section | javascript, html, css | 1,506,291,357 |
se_46135142 | stackoverflow | FRONTEND_DEVELOPMENT | Is there any benefit to programming an entire site just by using JavaScript? | Is there any benefit to programming an entire site just by using JavaScript?
So recently I have come across a site known as "negafinity", I had looked at it as a normal site, until someone told me that the site was programmed using just JavaScript (presumed they had looked at their .js files).
Site URL: https://negafi... | https://stackoverflow.com/questions/46135142/is-there-any-benefit-to-programming-an-entire-site-just-by-using-javascript | javascript, html, css | 1,504,991,465 |
se_45822953 | stackoverflow | FRONTEND_DEVELOPMENT | How do I make an image move when I scroll down? | How do I make an image move when I scroll down?
Here is an example of what I want to achieve:
https://www.flambette.com/en/
I have tried to change the CSS properties of images but that effect does not satisfy my needs.
I have tried the following code:
mydocument.on('scroll',function() {
if (mydocument.scrollTop(... | https://stackoverflow.com/questions/45822953/how-do-i-make-an-image-move-when-i-scroll-down | javascript, html, css | 1,503,419,845 |
se_45824300 | stackoverflow | FRONTEND_DEVELOPMENT | HTML paragraph isn't going into a straight line | HTML paragraph isn't going into a straight line
I'm new to programming and I can't solve this problem. The paragraphs are coming out like a staircase.
p
p
p
p
p
The p's are examples, but here is all the code I have done so far.
Keep in mind I'm not the best at CSS (I'm still learning).
All help would b... | https://stackoverflow.com/questions/45824300/html-paragraph-isnt-going-into-a-straight-line | javascript, html, css | 1,503,425,253 |
se_79989384 | stackoverflow | FRONTEND_DEVELOPMENT | Global scroll bar shown when element inside an overflow: scroll element extends beneath the bottom of screen | Global scroll bar shown when element inside an overflow: scroll element extends beneath the bottom of screen
I am trying to prevent a scroll bar from appearing on my website when the width is shrunk. My container, #preview-container, has the property overflow-y: scroll and contains a div, #preview, which has no scroll... | https://stackoverflow.com/questions/79989384/global-scroll-bar-shown-when-element-inside-an-overflow-scroll-element-extends | html, css, scrollbar | 1,785,478,575 |
se_14829610 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make <button> respond to :active? | How can I make <button> respond to :active?
The button responds to hover, but not to active.
Here is the fiddle.
CSS:
.menu ul li button:hover {
background-color: rgba(206,0,0,1);
}
.menu ul li button:active {
background-color: rgba(206,0,0,1);
}
$('document').ready(function() {
$('#show1, #show2, ... | https://stackoverflow.com/questions/14829610/how-can-i-make-button-respond-to-active | html, css | 1,360,662,449 |
se_37547689 | stackoverflow | FRONTEND_DEVELOPMENT | Bootstrap Accordion - start all closed | Bootstrap Accordion - start all closed
So I have a bootstrap style accordion on my page - but on start, the first panel is open.
How can I make it so that when you load the page, they are all closed?
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
... | https://stackoverflow.com/questions/37547689/bootstrap-accordion-start-all-closed | html, css, twitter-bootstrap, visual-studio-2012 | 1,464,702,760 |
se_69671897 | stackoverflow | FRONTEND_DEVELOPMENT | chakra UI - vertical alignment at top | chakra UI - vertical alignment at top
Using chakra UI, I have a two column layout.
I want all the items to be aligned at the top.
For some reason they are aligning in the center...
I'm using this markup:
<HStack verticalAlign='top' height='100%' position='relative' className='debug-blue'>
<VStack spacing={2} widt... | https://stackoverflow.com/questions/69671897/chakra-ui-vertical-alignment-at-top | css, vertical-alignment, chakra-ui | 1,634,881,170 |
se_51892280 | stackoverflow | FRONTEND_DEVELOPMENT | How do I fix monospace spaces not being correct width in Android Chrome/Firefox? | How do I fix monospace spaces not being correct width in Android Chrome/Firefox?
I was playing around with a site that shows an ASCII/ANSI art logo and everything seems to work great in desktop browsers.
Then I wanted to see if it works on mobile devices but here it seems like the whitespaces are of a wrong width.
The... | https://stackoverflow.com/questions/51892280/how-do-i-fix-monospace-spaces-not-being-correct-width-in-android-chrome-firefox | css, google-chrome, web, monospace | 1,534,497,885 |
se_2293910 | stackoverflow | FRONTEND_DEVELOPMENT | CSS 3 transparency and gradient | CSS 3 transparency and gradient
RGBA is extremely fun, and so is -webkit-gradient, -moz-gradient, and uh... progid:DXImageTransform.Microsoft.gradient... yeah. :)
Is there a way to combine the two, RGBA and gradients, so that there's gradient of alpha transparency using the current and latest CSS specifications? | https://stackoverflow.com/questions/2293910/css-3-transparency-and-gradient | css, gradient | 1,266,550,632 |
se_25913634 | stackoverflow | FRONTEND_DEVELOPMENT | Making a Turn.js book like in example? | Making a Turn.js book like in example?
I'm currently making a book with turn.js using Jquery of which is going well but I need a little bit of help. You see I'm trying to make a hard-backed journal-type book like the example shown here http://www.turnjs.com/#samples/html5/1. My question is, how can I get it so that th... | https://stackoverflow.com/questions/25913634/making-a-turn-js-book-like-in-example | javascript, jquery, css, html | 1,411,045,923 |
se_17874338 | stackoverflow | FRONTEND_DEVELOPMENT | Form output "values" are not correct? | Form output "values" are not correct?
This is in relation to a previous question (DIV "hiding" when changing dropdown value) that helped me fix one part of the problem but I now have 2 problems to fix and finalise this form.
If I don't add a Guest Ticket, there is no need for the Payment Method - the div c... | https://stackoverflow.com/questions/17874338/form-output-values-are-not-correct | javascript, html, css, forms, business-catalyst | 1,374,819,856 |
se_45756725 | stackoverflow | FRONTEND_DEVELOPMENT | Placing image at the top left of the screen in html | Placing image at the top left of the screen in html
please refer to the image below, I wish to add an image to the extreme left and top of the screen such that the word process appears to the right of it.
<div class="row">
<!--img src="C:/D DRIVE DATA/databit/ymlsite/images/generic/Logo.png",
height = 50 width = 50/... | https://stackoverflow.com/questions/45756725/placing-image-at-the-top-left-of-the-screen-in-html | html, css, image, stylesheet | 1,503,059,491 |
se_5176827 | stackoverflow | FRONTEND_DEVELOPMENT | How Do I Make a "Trickless", Cross-Platform CSS-Based Same Column Height? | How Do I Make a "Trickless", Cross-Platform CSS-Based Same Column Height?
I tried this with DIVs. The problem occurs in both. I can't get the right border to be equal heights as the longest DIV. And I need this to work across the current desktop browsers from the days of IE7 and up.
This is a common problem... | https://stackoverflow.com/questions/5176827/how-do-i-make-a-trickless-cross-platform-css-based-same-column-height | html, css, html-table | 1,299,128,210 |
se_46091657 | stackoverflow | FRONTEND_DEVELOPMENT | Horizontal scrolling list currently displaying vertically with scroll | Horizontal scrolling list currently displaying vertically with scroll
I am using HTML & CSS with Angular, and I need to create a list that scrolls horizontally.
I can implement it with li and ul elements, but for this specific example where I am iterating through using *ngFor, I'm not sure how to do it.
I want to achi... | https://stackoverflow.com/questions/46091657/horizontal-scrolling-list-currently-displaying-vertically-with-scroll | html, css, angularjs, horizontal-scrolling | 1,504,773,356 |
se_28196741 | stackoverflow | FRONTEND_DEVELOPMENT | center one div above two other divs | center one div above two other divs
I would like to achieve this situation:
The page contains 4 divs in total. The main layer is divided in 3 divs.
Above div1 and div2, another div(div4) must be floating above them in the middle of these 2 divs.
current code:
body {
position:relative;
}
div1 {
// nothing
}
div2... | https://stackoverflow.com/questions/28196741/center-one-div-above-two-other-divs | html, css, css-position | 1,422,460,681 |
se_79984280 | stackoverflow | FRONTEND_DEVELOPMENT | Having problems with using the hamburger menu | Having problems with using the hamburger menu
I am trying to build a responsive navigation bar using pure CSS (no JavaScript). I am using the input[type="checkbox"] and label hack to toggle the menu open and closed.
Currently, I can show and hide the menu globally, but I am struggling with a specific responsive requir... | https://stackoverflow.com/questions/79984280/having-problems-with-using-the-hamburger-menu | html, css, responsive-design, hamburger-menu | 1,784,823,208 |
se_79989418 | stackoverflow | FRONTEND_DEVELOPMENT | Smooth CSS animation to implicit height | Smooth CSS animation to implicit height
I have a fixed-size canvas element (with a graph) initially hidden which looks like
<div
class="scheme__rank-history"
data-ui--scheme--scheme-target="historyGraph">
<canvas id="rank-history-graph" width="340"></canvas>
</div>
The (S)CSS is I think pretty standard
.s... | https://stackoverflow.com/questions/79989418/smooth-css-animation-to-implicit-height | css, css-animations | 1,785,489,114 |
se_9737296 | stackoverflow | FRONTEND_DEVELOPMENT | Anchor tag inside span | Anchor tag inside span
I have an anchor tag <a> inside a <span> tag. I have applied CSS so that span looks like a button.
I am facing some issues:
I cannot apply styles to anchor by applying style to span.
The click is happening only on the anchor tag. I would like the click feature for the entire span tag.
Any h... | https://stackoverflow.com/questions/9737296/anchor-tag-inside-span | html, css | 1,331,901,178 |
se_2155873 | stackoverflow | FRONTEND_DEVELOPMENT | Should an HTML anchor tag be wrapped in a paragraph tag? | Should an HTML anchor tag be wrapped in a paragraph tag?
Do I need to wrap a tag (<a href="#">) in a <p> tag? I guess it can be wrapped in any block level element like <div>, but I'm not sure. | https://stackoverflow.com/questions/2155873/should-an-html-anchor-tag-be-wrapped-in-a-paragraph-tag | html, css, anchor | 1,264,694,478 |
se_32207748 | stackoverflow | FRONTEND_DEVELOPMENT | Anchor tag to local file changing to lowercase drive name in Firefox | Anchor tag to local file changing to lowercase drive name in Firefox
I have an HTML file which contains anchor tag with a link to another HTML file.
When I click on the link in Firefox, it's not opening the other HTML file. Please refer to the below HTML snippet:
<html>
<body>
<table align=left border=1>
... | https://stackoverflow.com/questions/32207748/anchor-tag-to-local-file-changing-to-lowercase-drive-name-in-firefox | css, html, firefox, anchor | 1,440,515,562 |
se_17221621 | stackoverflow | FRONTEND_DEVELOPMENT | How to set Qt tooltip width | How to set Qt tooltip width
need to show 2 line text in tooltip with bold and multicolor characters, but seems tooltip has max width and text was cut. I tried to calculate width of text and set width manually, but it doesn't make any effects, seems style = "width: some px" doesn't work for tooltip. Here's the code:
Ed... | https://stackoverflow.com/questions/17221621/how-to-set-qt-tooltip-width | c++, html, css, qt, tooltip | 1,371,754,683 |
se_75138933 | stackoverflow | FRONTEND_DEVELOPMENT | Can you create inset drop-shadows in CSS? | Can you create inset drop-shadows in CSS?
I have an <img> tag with an image that contains some transparent parts. On top of that image, I want to display a kind of shadow to give it some depth. The critical part is that the shadow should be inset inside the image boundary, not around the image like a regular drop shad... | https://stackoverflow.com/questions/75138933/can-you-create-inset-drop-shadows-in-css | html, css | 1,673,897,735 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.