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_12777034 | stackoverflow | FRONTEND_DEVELOPMENT | Text overflowing the sides of its container div | Text overflowing the sides of its container div
My text inside the containing div overflows it from the sides where it should be actually wrapping automatically.
html {
padding: 0;
margin: 0;
}
body {
background: #E4E4E4;
height: 100%;
width: 100%;
}
#main {
display: block;
background... | https://stackoverflow.com/questions/12777034/text-overflowing-the-sides-of-its-container-div | html, css | 1,349,680,896 |
se_3221561 | stackoverflow | FRONTEND_DEVELOPMENT | Eliminate flash of unstyled content | Eliminate flash of unstyled content
How do I stop the flash of unstyled content (FOUC) on a web page? | https://stackoverflow.com/questions/3221561/eliminate-flash-of-unstyled-content | css, fouc | 1,278,813,825 |
se_40713869 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make a bootstrap navbar mobile friendly? | How can I make a bootstrap navbar mobile friendly?
I don't have a specific code example, just looking for a general answer.
I know my navbar doesn't resize well in mobile, so is there a good/correct way to fix this? Someone mentioned using CSS @media queries, but I don't know anything about them.
If I do need media qu... | https://stackoverflow.com/questions/40713869/how-can-i-make-a-bootstrap-navbar-mobile-friendly | html, css, twitter-bootstrap | 1,479,708,947 |
se_51095254 | stackoverflow | FRONTEND_DEVELOPMENT | Success message after form submission | Success message after form submission
I am having a form to get the user details.
Once form is submitted the page gets loaded. I want to display a success message after page loading.
<form name="myForm" class="contactus-template" method="post" onsubmit="return Formvalidation()">
</form>
function Formvalidation(){
... | https://stackoverflow.com/questions/51095254/success-message-after-form-submission | javascript, jquery, css, html | 1,530,252,414 |
se_45243172 | stackoverflow | FRONTEND_DEVELOPMENT | Changing Color of Radial Gradient | Changing Color of Radial Gradient
How can I change the red circle created to green circle using JavaScript?
#redcircle {
background-image: radial-gradient(
circle,
red,
red 40px,
transparent 20px
);
} | https://stackoverflow.com/questions/45243172/changing-color-of-radial-gradient | javascript, html, css | 1,500,657,032 |
se_8040528 | stackoverflow | FRONTEND_DEVELOPMENT | Height of divs in one column depending on the height of divs in another column | Height of divs in one column depending on the height of divs in another column
Consider the following HTML:
<html>
<body>
<div id="leftColumn">
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="div4"></div>
</div>
<div id="rightColumn">
<div id="div1sidebar"></div>
<div id="div2sid... | https://stackoverflow.com/questions/8040528/height-of-divs-in-one-column-depending-on-the-height-of-divs-in-another-column | javascript, html, jquery, css | 1,320,688,510 |
se_79968679 | stackoverflow | FRONTEND_DEVELOPMENT | What is the correct way to use media queries with Angular Material? | What is the correct way to use media queries with Angular Material?
I am working on a project with Angular Material, and I am using CSS files for styling. I have media queries like this:
@media (width <= 768px) {
.desktop-menu {
display: none;
}
}
However, it feels wrong to define breakpoints manually when An... | https://stackoverflow.com/questions/79968679/what-is-the-correct-way-to-use-media-queries-with-angular-material | css, angular, angular-material, media-queries | 1,782,576,064 |
se_11008433 | stackoverflow | FRONTEND_DEVELOPMENT | Best equal div height option? | Best equal div height option?
Ok so getting equal div heights is turning out to be quite a process.
There appears to be a number of ways to do it.
I would like to use CSS, and since I am pretty lousy at it, I was hoping someone could give me a hand.
Here is my basic layout.
http://jsfiddle.net/SineMetu/nWXyu/1/
... | https://stackoverflow.com/questions/11008433/best-equal-div-height-option | html, css, fluid-layout | 1,339,563,618 |
se_44501266 | stackoverflow | FRONTEND_DEVELOPMENT | How to set width to Mobile screen size using HTML / CSS | How to set width to Mobile screen size using HTML / CSS
I am developing a website Register page.
if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android') !== false)
With the above trap, I directed the page to a separate mobile page, where the problems started with setting the width.
in the mobile page, I tried setting th... | https://stackoverflow.com/questions/44501266/how-to-set-width-to-mobile-screen-size-using-html-css | android, html, css, width, screen | 1,497,275,847 |
se_79975005 | stackoverflow | FRONTEND_DEVELOPMENT | I get stuck learning HTML, CSS, and JavaScript (I am a student) | I get stuck learning HTML, CSS, and JavaScript (I am a student)
I’m currently learning HTML, CSS, and JavaScript through YouTube. After watching each lesson, I try to reinforce what I learned by deleting all the code from the tutorial and rewriting it manually from memory.
Is this an effective way to actually gain kno... | https://stackoverflow.com/questions/79975005/i-get-stuck-learning-html-css-and-javascript-i-am-a-student | javascript, html, css, best-practices | 1,783,337,034 |
se_61474603 | stackoverflow | FRONTEND_DEVELOPMENT | The hover-text doesnt show when click on mobile | The hover-text doesnt show when click on mobile
Im pretty new to this and only work with html and css - and have a big problem.
I have a hover on my webpage, and if i inspect in the browser the hover is supposed to show on click on a mobile device. The hover works fine on desktop
But when the webpage now is live, the ... | https://stackoverflow.com/questions/61474603/the-hover-text-doesnt-show-when-click-on-mobile | html, css | 1,588,057,911 |
se_37634974 | stackoverflow | FRONTEND_DEVELOPMENT | How do I load a separate CSS style sheet a few seconds after when the page loads? | How do I load a separate CSS style sheet a few seconds after when the page loads?
I'm using Squarespace and I am using a plugin/shortcode to prompt people to sign up for a newsletter.
There is certain styling I want applied to the prompt however, Squarespace seems to load the CSS before the plugin runs.
How do I make ... | https://stackoverflow.com/questions/37634974/how-do-i-load-a-separate-css-style-sheet-a-few-seconds-after-when-the-page-loads | html, css, content-management-system, squarespace | 1,465,074,016 |
se_13360713 | stackoverflow | FRONTEND_DEVELOPMENT | Right align second line in centered text | Right align second line in centered text
Sorry if the title isn't very clear, but I'm trying to figure out how to solve the following problem using CSS.
I have a text that should be shown in two different lines: imagine first line is "hello world" and second is "goodbye"
I'd need to show the text in this way, in the... | https://stackoverflow.com/questions/13360713/right-align-second-line-in-centered-text | html, css, responsive-design | 1,352,809,466 |
se_25827475 | stackoverflow | FRONTEND_DEVELOPMENT | How to position div above footer use css | How to position div above footer use css
I have problem with position of div called reklama above footer. On this forum , I found a solution to my problem. I put two selectors into my div. position: relative; and top: -150px; But now the size of my footer changed by the size of the reklama's div.
Thank you for help.
... | https://stackoverflow.com/questions/25827475/how-to-position-div-above-footer-use-css | html, css, position | 1,410,640,703 |
se_79987733 | stackoverflow | FRONTEND_DEVELOPMENT | Is it possible to make the transition from 270deg to 360deg be to 0deg without rotating counter clockwise? | Is it possible to make the transition from 270deg to 360deg be to 0deg without rotating counter clockwise?
How can this be made to rotate around back to zero degrees within one full turn rather than multiples of 360? If set to zero rather than 360, the rotation is three turns counter clockwise rather than one clockwis... | https://stackoverflow.com/questions/79987733/is-it-possible-to-make-the-transition-from-270deg-to-360deg-be-to-0deg-without-r | css, css-transitions | 1,785,301,396 |
se_76730337 | stackoverflow | FRONTEND_DEVELOPMENT | Is there a way to Tailwind styles from spilling over into other applications? (Isolating tailwind styles to component library) | Is there a way to Tailwind styles from spilling over into other applications? (Isolating tailwind styles to component library)
I'm trying to build a React library using Tailwind for styling for the library, one of the issues I'm coming across is that the tailwind styles "spill over" into the applications that implemen... | https://stackoverflow.com/questions/76730337/is-there-a-way-to-tailwind-styles-from-spilling-over-into-other-applications-i | javascript, css, reactjs, tailwind-css | 1,689,859,184 |
se_79902310 | stackoverflow | FRONTEND_DEVELOPMENT | iOS PWA (Add to Home Screen): White gap below bottom navigation bar, 100dvh doesn't fill full screen with viewport-fit=cover | iOS PWA (Add to Home Screen): White gap below bottom navigation bar, 100dvh doesn't fill full screen with viewport-fit=cover
I'm building a Nuxt 4 PWA installed via Safari "Add to Home Screen" on iOS. The app has a bottom navigation bar that should sit flush against the bottom of the screen, filling the home indic... | https://stackoverflow.com/questions/79902310/ios-pwa-add-to-home-screen-white-gap-below-bottom-navigation-bar-100dvh-does | css, ios, safari, progressive-web-apps, viewport | 1,772,804,806 |
se_45613816 | stackoverflow | FRONTEND_DEVELOPMENT | Encircle a table div without changing the size of the cell | Encircle a table div without changing the size of the cell
I developed a diagram in a HTML table, the TD have fixed dimension and i want to highlight this div with something like border or circle but if i simply use the border : ... of CSS it deformed the div.
I can't use the background-color because it is already u... | https://stackoverflow.com/questions/45613816/encircle-a-table-div-without-changing-the-size-of-the-cell | javascript, html, css | 1,502,368,269 |
se_19563195 | stackoverflow | FRONTEND_DEVELOPMENT | Make specific CSS for IE10 | Make specific CSS for IE10
I bind some type for my site:
@font-face {
font-family:WILLS;
src:url(WILLS.TTF);
}
In most browsers this types recognize perfectly but IE don't see this type because of ttf extensions. But the problem is that IE10+ aren't supporting this condition.
<!--[if IE]>...<![endif]-->
Is there any ... | https://stackoverflow.com/questions/19563195/make-specific-css-for-ie10 | javascript, html, css, internet-explorer | 1,382,609,977 |
se_44932786 | stackoverflow | FRONTEND_DEVELOPMENT | Web site dropbdown button component name | Web site dropbdown button component name
Does anyone know the name of the of the web page component which acts as an expandable read-only textarea?
So basically, the component initially looks like a button with a title and an arrow marker indicating that there is more to view if the user clicks below, then once the us... | https://stackoverflow.com/questions/44932786/web-site-dropbdown-button-component-name | javascript, html, css | 1,499,276,519 |
se_44868140 | stackoverflow | FRONTEND_DEVELOPMENT | HTML/CSS background with several vector shapes and no img | HTML/CSS background with several vector shapes and no img
I know that there are a few questions like this, but non of them really helped me...
I want to know how to code a background like this -> http://www.liveandwired.co
with vector shapes and especially this waves
Has someone an idea how to make this? | https://stackoverflow.com/questions/44868140/html-css-background-with-several-vector-shapes-and-no-img | javascript, html, css | 1,498,977,778 |
se_79986183 | stackoverflow | FRONTEND_DEVELOPMENT | Select columns by name/ID when applying CSS styling in Data Grid component for a KDB+ dashboard | Select columns by name/ID when applying CSS styling in Data Grid component for a KDB+ dashboard
I’m using a KX/KDB+ Dashboards data grid where columns are shown/hidden dynamically based on user selections.
I want to visually group metric columns by applying a left border to the first column in each metric group and a ... | https://stackoverflow.com/questions/79986183/select-columns-by-name-id-when-applying-css-styling-in-data-grid-component-for-a | css, kdb+, slickgrid | 1,785,126,657 |
se_17158253 | stackoverflow | FRONTEND_DEVELOPMENT | Indent starting from the second line of a paragraph with CSS | Indent starting from the second line of a paragraph with CSS
How can I indent starting from the second line of a paragraph?
I've tried
p {
text-indent: 200px;
}
p:first-line {
text-indent: 0;
}
and
p {
margin-left: 200px;
}
p:first-line {
margin-left: 0;
}
and
(with position:relative;)
p {
... | https://stackoverflow.com/questions/17158253/indent-starting-from-the-second-line-of-a-paragraph-with-css | html, css, text, pseudo-class, indentation | 1,371,510,196 |
se_79986176 | stackoverflow | FRONTEND_DEVELOPMENT | Can a shadow DOM host node be selected based on being a descendant of a node in the light DOM? | Can a shadow DOM host node be selected based on being a descendant of a node in the light DOM?
Is it possible to modify the style inside the shadow DOM to apply to a :host that is a descendent of div.state.open in the light DOM, for example, rather than as in the example using :host(.closed).
"use strict";
c... | https://stackoverflow.com/questions/79986176/can-a-shadow-dom-host-node-be-selected-based-on-being-a-descendant-of-a-node-in | javascript, css, shadow-dom | 1,785,124,731 |
se_40842277 | stackoverflow | FRONTEND_DEVELOPMENT | Create line numbers on pre with CSS only | Create line numbers on pre with CSS only
I try to style a code pre box with line numbers in front of each line. I prefer to do it with CSS only. This is what I have done
pre {
background: #303030;
color: #f1f1f1;
padding: 10px 16px;
border-radius: 2px;
border-top: 4px solid #00aeef;
-moz-box-sha... | https://stackoverflow.com/questions/40842277/create-line-numbers-on-pre-with-css-only | html, css, css-counter | 1,480,329,687 |
se_79986208 | stackoverflow | FRONTEND_DEVELOPMENT | Bad MIME type for CSS @import | Bad MIME type for CSS @import
My project is set up like this:
|- website
|- index.html
|- src
|- index.js
|- style.css
|- components
|- shared-styles
|- shared.css
|- test-component
|- index.html
|- index.js
|- style.css
It's all vanilla, and I'm not current... | https://stackoverflow.com/questions/79986208/bad-mime-type-for-css-import | css, vite, web-component | 1,785,133,561 |
se_19049571 | stackoverflow | FRONTEND_DEVELOPMENT | How to create colsgroup in the semantic-ui way | How to create colsgroup in the semantic-ui way
In semantic UI, (http://semantic-ui.com) we could create:
<div class="ui three column grid">
<div class="column">1</div>
<div class="column">2</div>
<div class="column">3</div>
</div>
i try to create my own without semantic-ui famework:
<div class="colsgroup"... | https://stackoverflow.com/questions/19049571/how-to-create-colsgroup-in-the-semantic-ui-way | html, css, semantic-ui | 1,380,281,176 |
se_11038865 | stackoverflow | FRONTEND_DEVELOPMENT | Three column responsive equal height, with border. How to make it in CSS? | Three column responsive equal height, with border. How to make it in CSS?
How do I make multiple columns with equal heights that has a border between each section AND keeping it responsive... (see image below). I know you can use a background image if you have two columns but when theres more, the whole responsive par... | https://stackoverflow.com/questions/11038865/three-column-responsive-equal-height-with-border-how-to-make-it-in-css | css | 1,339,697,319 |
se_37052659 | stackoverflow | FRONTEND_DEVELOPMENT | Responsive Separator for Horizontal List | Responsive Separator for Horizontal List
This question expands upon 'Separators For Navigation' by asking, how it is possible to remove the separators at the line breaks cause by viewport size.
Wide Viewport
-> Item 1 | Item 2 | Item 3 | Item 4 | Item 5 <-
Small Viewport
-> Item 1 | Item 2 | Item 3 ... | https://stackoverflow.com/questions/37052659/responsive-separator-for-horizontal-list | html, css, responsive-design, html-lists | 1,462,456,913 |
se_40639705 | stackoverflow | FRONTEND_DEVELOPMENT | Is there a way to style Google Chrome default PDF viewer | Is there a way to style Google Chrome default PDF viewer
Is there a way to style google chrome default pdf view? I'm trying to change the gray background color to white also make the scroller little bigger for mobile devices if possible.
I tried to target it on css with no luck
// pdf viewer custom style
iframe ... | https://stackoverflow.com/questions/40639705/is-there-a-way-to-style-google-chrome-default-pdf-viewer | css, google-chrome, background-color, pdf-viewer | 1,479,321,240 |
se_79985827 | stackoverflow | FRONTEND_DEVELOPMENT | Tailwind interferes with default HTML elements' styles | Tailwind interferes with default HTML elements' styles
globals.css:
@import "tailwindcss";
:root {
--background: #ffffff;
--foreground: #171717;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--font-sans: var(--font-geist-sans);
--font-mono: var(--font... | https://stackoverflow.com/questions/79985827/tailwind-interferes-with-default-html-elements-styles | css, tailwind-css, tailwind-css-4 | 1,784,985,449 |
se_45991300 | stackoverflow | FRONTEND_DEVELOPMENT | how to apply style to jquery autocomplete dropdown | how to apply style to jquery autocomplete dropdown
I'm using jquery autocomplete.
I have set it to connect with a service and bring back records:
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script>
$( function() {
... | https://stackoverflow.com/questions/45991300/how-to-apply-style-to-jquery-autocomplete-dropdown | javascript, jquery, css, jquery-ui-autocomplete | 1,504,221,020 |
se_48980986 | stackoverflow | FRONTEND_DEVELOPMENT | Clip Path has 1px single line separating sections? | Clip Path has 1px single line separating sections?
So I have a clip path to create a downward arrow between the sections. In other words, I have gradient on section 1, and then a gradient on section 2. In section 2, I've clip-pathed it so that it looks like a downward arrow that is connected to the first section.
Wh... | https://stackoverflow.com/questions/48980986/clip-path-has-1px-single-line-separating-sections | html, css | 1,519,615,320 |
se_79357957 | stackoverflow | FRONTEND_DEVELOPMENT | Stick an element horizontally only works on desktop, not mobile | Stick an element horizontally only works on desktop, not mobile
I am trying to make a layout that has a header, that scroll vertically off the page like normal. But if one uses the HTML scrollbars (important that it's the HTML scroll bars, so one does not have to hunt for the horizontally scrolls bars, the HTML scroll... | https://stackoverflow.com/questions/79357957/stick-an-element-horizontally-only-works-on-desktop-not-mobile | html, css | 1,736,939,099 |
se_21471125 | stackoverflow | FRONTEND_DEVELOPMENT | Using :hover to trigger @keyframes animation when the element uses multiple animations | Using :hover to trigger @keyframes animation when the element uses multiple animations
I have a set of icons that transition from the center of the page to a set point, and then remain there. What I want to do is set them to transition to have a thicker border and scale to 130x130px whenever I mouse over one of them, ... | https://stackoverflow.com/questions/21471125/using-hover-to-trigger-keyframes-animation-when-the-element-uses-multiple-anim | css, hover, css-animations | 1,391,132,964 |
se_78784386 | stackoverflow | FRONTEND_DEVELOPMENT | Set Text Direction in Footnotes in Obsidian | Set Text Direction in Footnotes in Obsidian
I am using Obsidian. I write sources from both English and Hebrew sources and I reference them in my footnotes. The problem is that the footnotes that begin with an English word begin on the left side of the page and the footnotes that begin with a Hebrew word begin on the r... | https://stackoverflow.com/questions/78784386/set-text-direction-in-footnotes-in-obsidian | css, footnotes, obsidian, text-direction | 1,721,748,826 |
se_78119872 | stackoverflow | FRONTEND_DEVELOPMENT | shadcn/radix/react: NavigationMenuTrigger with asChild not possible - React.Children.only expected to receive a single React element child | shadcn/radix/react: NavigationMenuTrigger with asChild not possible - React.Children.only expected to receive a single React element child
I use the newest version of shadcn for developing.
Now I want to use the Button as the menu trigger.
<NavigationMenuTrigger asChild>
<Button variant="outline">
<CircleUserRou... | https://stackoverflow.com/questions/78119872/shadcn-radix-react-navigationmenutrigger-with-aschild-not-possible-react-chil | css, reactjs, typescript, radix-ui, shadcnui | 1,709,800,841 |
se_79985698 | stackoverflow | FRONTEND_DEVELOPMENT | Unable to define proper CSS attribute for correctly aligning a table DIV within a "Page" (centering horizontally) defined as an all-encompassing DIV | Unable to define proper CSS attribute for correctly aligning a table DIV within a "Page" (centering horizontally) defined as an all-encompassing DIV
I am trying to build a template for some documentation work I would like to complete. However, I have been unable to identify which of the various "align" prop... | https://stackoverflow.com/questions/79985698/unable-to-define-proper-css-attribute-for-correctly-aligning-a-table-div-within | html, css, html-table | 1,784,939,378 |
se_40947076 | stackoverflow | FRONTEND_DEVELOPMENT | Html To Pdf conversion in angular js | Html To Pdf conversion in angular js
I am trying to convert html to pdf. Is there any custom directive, which i can use.I also tried to use angular-save-html-to-pdf from npm site but there is some error while using.
Is there any other way to convert html to css in angular js. | https://stackoverflow.com/questions/40947076/html-to-pdf-conversion-in-angular-js | html, css, angularjs, pdf, html2pdf | 1,480,763,307 |
se_39528616 | stackoverflow | FRONTEND_DEVELOPMENT | How do I create a custom header in Magento 2 using HTML and CSS | How do I create a custom header in Magento 2 using HTML and CSS
I want to make a custom header for my theme in Magento 2. I managed to create a working module which just outputs "Hello World" right now and gets displayed in the header section of my shop. Now, how do I remove the old header panel and tell my new one ho... | https://stackoverflow.com/questions/39528616/how-do-i-create-a-custom-header-in-magento-2-using-html-and-css | html, css, magento, themes, magento-2.0 | 1,474,019,783 |
se_19140548 | stackoverflow | FRONTEND_DEVELOPMENT | How to create sub menus for a vertical navigation bar using css only | How to create sub menus for a vertical navigation bar using css only
I have been surfing for long to know how to create a Sub menu for a vertical navigation page for my website.
I want simple CSS to be used.
I have my nav.jsp page having all the navigation links. The code of the same is as below
<table width="... | https://stackoverflow.com/questions/19140548/how-to-create-sub-menus-for-a-vertical-navigation-bar-using-css-only | html, css, drop-down-menu, html-table | 1,380,727,278 |
se_14286406 | stackoverflow | FRONTEND_DEVELOPMENT | How to set a details element to OPEN by default or via CSS | How to set a details element to OPEN by default or via CSS
HTML5 adds two new elements that are useful for marking up a table of contents for an article: details and summary.
The details element defaults to closed (hides everything except the summary element) and when clicked, it expands to reveal its contents. When i... | https://stackoverflow.com/questions/14286406/how-to-set-a-details-element-to-open-by-default-or-via-css | css, html | 1,357,937,395 |
se_11111593 | stackoverflow | FRONTEND_DEVELOPMENT | Fill up whole table space with table cells of equal width | Fill up whole table space with table cells of equal width
How ca I fill up whole table space with table cells of equal width?
I need the table row to be equal to the table space provided and for the table cells to have equal widths. I have tried numerous suggestions online but I haven't been able to figure it out.
HTM... | https://stackoverflow.com/questions/11111593/fill-up-whole-table-space-with-table-cells-of-equal-width | html, css, html-table | 1,340,154,905 |
se_6370690 | stackoverflow | FRONTEND_DEVELOPMENT | Media Queries: How to target desktop, tablet, and mobile? | Media Queries: How to target desktop, tablet, and mobile?
I have been doing some research on media queries and I still don't quite understand how to target devices of certain sizes.
I want to be able to target desktop, tablet and mobile. I know that there will be some discrepancies but it would be nice to have a gen... | https://stackoverflow.com/questions/6370690/media-queries-how-to-target-desktop-tablet-and-mobile | css, mobile, media-queries, tablet | 1,308,221,830 |
se_79982037 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make my CSS adaptive to conditional code in React | How can I make my CSS adaptive to conditional code in React
I am currently building a weather app with Vite and React.
At the moment, the background photo is just a sunny clear sky, and the ad is styled in white and blue around that.
What I want to do is to have, depending on the weather, a few different background im... | https://stackoverflow.com/questions/79982037/how-can-i-make-my-css-adaptive-to-conditional-code-in-react | best-practices, javascript, css, jsx | 1,784,478,262 |
se_18550426 | stackoverflow | FRONTEND_DEVELOPMENT | CSS3 Transitions in Stylus - how to degrade for IE9 | CSS3 Transitions in Stylus - how to degrade for IE9
So, I have an img tag in .image-wrapper I want to pan down on hover. Pretty basic use of CSS3 transition - based on here: http://designshack.net/articles/css/joshuajohnson-2/
Here's my stylus code:
// Portfolio
.portfolio-wide
.image-wrapper
height 300px
... | https://stackoverflow.com/questions/18550426/css3-transitions-in-stylus-how-to-degrade-for-ie9 | jquery, css, coffeescript, css-transitions, stylus | 1,377,967,552 |
se_25543413 | stackoverflow | FRONTEND_DEVELOPMENT | Placing divs on same line | Placing divs on same line
Ok so I'm trying to set up 5 divs to come up in the shape of a 'W'. check out my sight to get a reference of what I mean here: Right now I am using a table but that is not effective because it is not doing exactly what I want and will cause problems when I try to reformat everything to work o... | https://stackoverflow.com/questions/25543413/placing-divs-on-same-line | html, css | 1,409,211,969 |
se_37739375 | stackoverflow | FRONTEND_DEVELOPMENT | Visual studio code CSS indentation and formatting | Visual studio code CSS indentation and formatting
I'd like to know if there is any way to activate auto indent a CSS file in visual studio code with the shortcut ALT+SHIFT+F?
It's working fine with JavaScript but strangely not with CSS. | https://stackoverflow.com/questions/37739375/visual-studio-code-css-indentation-and-formatting | css, visual-studio-code | 1,465,528,789 |
se_25560396 | stackoverflow | FRONTEND_DEVELOPMENT | Aligning a div within another div | Aligning a div within another div
Ok here is the specific code I need help with
CSS:
.pagemenu {
padding-top: 25px;
padding-right: 2%;
padding-left: 2%;
text-align: center;
}
.bubblewrap {
display: inline-block;
vertical-align: top;
width: 23%;
margin-right: 5%;
margin-left: 5%;
text-align:center;
}
.bubble ... | https://stackoverflow.com/questions/25560396/aligning-a-div-within-another-div | html, css | 1,409,275,752 |
se_78912182 | stackoverflow | FRONTEND_DEVELOPMENT | How can I make an infinite-scrolling marquee? I can't get my items to repeat | How can I make an infinite-scrolling marquee? I can't get my items to repeat
I'm sorry if this question is a bit elementary but I've been hitting into a wall with CSS for a bit now. And I can't wrap my head around infinite scrolling marquees. I still feel pretty confident/happy because I was able to figure out how... | https://stackoverflow.com/questions/78912182/how-can-i-make-an-infinite-scrolling-marquee-i-cant-get-my-items-to-repeat | css, animation, frontend | 1,724,617,076 |
se_79984308 | stackoverflow | FRONTEND_DEVELOPMENT | Padding-bottom ignored on scrollable flex container (overflow-y: auto) | Padding-bottom ignored on scrollable flex container (overflow-y: auto)
I have a flex column layout where one child is a scrollable panel with padding. When the content overflows and I scroll to the very bottom, the bottom padding is missing — the last element sits flush against the edge of the container instead of lea... | https://stackoverflow.com/questions/79984308/padding-bottom-ignored-on-scrollable-flex-container-overflow-y-auto | css, flexbox, overflow, padding | 1,784,830,735 |
se_79983930 | stackoverflow | FRONTEND_DEVELOPMENT | How could I scroll vertically past an item that only accepts horizontal scrolling? | How could I scroll vertically past an item that only accepts horizontal scrolling?
I am sorry if the title sounds confusing (because it is), but I cannot find a way past this problem. I made some divs that are supposed to scroll horizontally on a list, like the code snippet that will be included at the end of the post... | https://stackoverflow.com/questions/79983930/how-could-i-scroll-vertically-past-an-item-that-only-accepts-horizontal-scrollin | javascript, html, css | 1,784,740,707 |
se_18720569 | stackoverflow | FRONTEND_DEVELOPMENT | CSS selectors How to get the index of a particular element | CSS selectors How to get the index of a particular element
I am trying to use a css selector to select and item but only work for xpath. What would be the equivalent of this xpath to css.
driver.findElement(By.xpath("(//img[@alt='Authorise this row'])[2].click();
If I use the css img[alt='Authorise this row'] I ge... | https://stackoverflow.com/questions/18720569/css-selectors-how-to-get-the-index-of-a-particular-element | css, xpath | 1,378,820,418 |
se_4084614 | stackoverflow | FRONTEND_DEVELOPMENT | How can you create a CSS3 gradient in Opera? | How can you create a CSS3 gradient in Opera?
I can create CSS gradients in IE6/7/8/9/FF3.6+ and Chrome (see below).
My question is:
How would one create a gradient in Opera?
.gradient{
/*Mozilla Firefox 3.6*/
background-image: -moz-linear-gradient(top, #dcdcdc, #c6c6c6);
/*Webkit aka Googl... | https://stackoverflow.com/questions/4084614/how-can-you-create-a-css3-gradient-in-opera | css, opera, gradient | 1,288,764,920 |
se_13663653 | stackoverflow | FRONTEND_DEVELOPMENT | Login form on top nav with zurb foundation | Login form on top nav with zurb foundation
I've already learned bootstrap but I'm trying to learn foundation for a different project just to get some exposure to it. I'm wondering if there's any simple way to add a username/password form to the top nav bar similar to how bootstrap does? I've checked out the template c... | https://stackoverflow.com/questions/13663653/login-form-on-top-nav-with-zurb-foundation | html, css, zurb-foundation | 1,354,395,224 |
se_706655 | stackoverflow | FRONTEND_DEVELOPMENT | Bind event to right mouse click | Bind event to right mouse click
How can I trigger some action with right click after disabling the browser context menu ?
I tried this . . .
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
$('.alert').fadeToggle();
return false;
});
}); | https://stackoverflow.com/questions/706655/bind-event-to-right-mouse-click | jquery, css | 1,238,608,077 |
se_79970285 | stackoverflow | FRONTEND_DEVELOPMENT | How to change the position of a gif? | How to change the position of a gif?
SOLVED - sorry everyone I misspelt html as hmtl!! that was the entire problem! I am so sorry for all the time I wasted
I can't seem to change the position of an animated gif. I've tried different types of positioning, using a div vs just adding a class to the image, and I can't get... | https://stackoverflow.com/questions/79970285/how-to-change-the-position-of-a-gif | html, css, css-position | 1,782,732,599 |
se_56354767 | stackoverflow | FRONTEND_DEVELOPMENT | How to style a PrimeNG Chips? | How to style a PrimeNG Chips?
I have a form in my application where I use the following code from Primafaces:
...other inputs...
<label for="workshopTags">Tags</label>
<p-chips
[(ngModel)]="values"
name="workshopTags"
id="workshopTags"
></p-chips>
I am able to display the Chip element correctly but I wou... | https://stackoverflow.com/questions/56354767/how-to-style-a-primeng-chips | css, angular | 1,559,113,269 |
se_14218307 | stackoverflow | FRONTEND_DEVELOPMENT | Select arrow style change | Select arrow style change
I'm trying to replace the arrow of a select with a picture of my own. I'm including the select in a div with the same size, I set the background of the select as transparent and I'm including a picture(with the same size as the arrow) in the right top corner of the div as background.
It onl... | https://stackoverflow.com/questions/14218307/select-arrow-style-change | css, select | 1,357,658,746 |
se_58161615 | stackoverflow | FRONTEND_DEVELOPMENT | How to make chat like UI with chat bubbles in React JS | How to make chat like UI with chat bubbles in React JS
I have some JSON data in dummyData. I am not sure how can I place the chat bubbles on left and right according to the direction. I am using Material UI and context API. Image for the reference. I don't want to use any library other than material UI.
Currently, ... | https://stackoverflow.com/questions/58161615/how-to-make-chat-like-ui-with-chat-bubbles-in-react-js | javascript, css, reactjs, material-ui, jsx | 1,569,818,828 |
se_79983933 | stackoverflow | FRONTEND_DEVELOPMENT | iOS keyboard breaks page layout when opened | iOS keyboard breaks page layout when opened
I am using Vite + React + Bootstrap. This is my code:
componentDidMount() {
this.updateAppHeight();
if (window.visualViewport) {
window.visualViewport.addEventListener('resize', this.updateAppHeight);
window.visualViewport.addEventListener('scroll', t... | https://stackoverflow.com/questions/79983933/ios-keyboard-breaks-page-layout-when-opened | javascript, css, ios, user-interface, vite-reactjs | 1,784,741,091 |
se_75190826 | stackoverflow | FRONTEND_DEVELOPMENT | Horizontal Slider X axis | Horizontal Slider X axis
I have a container in which it is a horizontal scroll slider. I am just trying to figure how to show the element that is in the viewport at the time
I tried to look for left. I tried to put the slides in an array and look for the x axis but I am a little stumped.
This is my scroll function.
... | https://stackoverflow.com/questions/75190826/horizontal-slider-x-axis | javascript, html, css | 1,674,268,816 |
se_7032328 | stackoverflow | FRONTEND_DEVELOPMENT | How to make rounded corners on equal height columns | How to make rounded corners on equal height columns
I need to make three equal height columns with varying amounts of content with rounded corners. The corners need an 8px border radius. I would prefer to accomplish this with pure CSS if possible.
Right now my HTML looks like this:
<div class="col-w">
<div class... | https://stackoverflow.com/questions/7032328/how-to-make-rounded-corners-on-equal-height-columns | css, rounded-corners | 1,313,094,108 |
se_28813320 | stackoverflow | FRONTEND_DEVELOPMENT | Show and Hide class (onClick) | Show and Hide class (onClick)
UploadI am using a glyphicon from Bootstrap 3 on a button, which spins with a CSS3 Keyframe, I am wanting to (.hide) this class, untill the button is clicked, then it will appear/show, and spin away...animate as it does?
Here is my Fiddle:
http://jsfiddle.net/DannyJardine/8djrcwnb/4/
<... | https://stackoverflow.com/questions/28813320/show-and-hide-class-onclick | html, css, twitter-bootstrap, jquery-animate | 1,425,309,773 |
se_44367357 | stackoverflow | FRONTEND_DEVELOPMENT | How to make multi level dropdown menu using select option method | How to make multi level dropdown menu using select option method
I want to make multi level dropdown menu using select and option method
<select>
<option value="" data-display-text="Select">None</option>
<option value="oranges">SSC</option>
<option value="oranges">GATE</option>
<option value="bananas">BANK... | https://stackoverflow.com/questions/44367357/how-to-make-multi-level-dropdown-menu-using-select-option-method | javascript, html, css | 1,496,659,964 |
se_23584937 | stackoverflow | FRONTEND_DEVELOPMENT | How to make modal box responsive? | How to make modal box responsive?
I have implemented this jQuery-based modal box: http://leanmodal.finelysliced.com.au/. It works perfect, and it is quite easy to use. However, it is not responsive - contrary to the rest of the website. Here is what I got so far:
CSS-part
#lean_overlay {
position: fixed;
z-i... | https://stackoverflow.com/questions/23584937/how-to-make-modal-box-responsive | jquery, css, html, responsive-design, modal-dialog | 1,399,747,465 |
se_34352140 | stackoverflow | FRONTEND_DEVELOPMENT | What are the differences between flex-basis and width? | What are the differences between flex-basis and width?
There have been questions and articles about this, but nothing conclusive as far as I can tell. The best summary I could find is
flex-basis allows you to specify the initial/starting size of the element, before anything else is computed. It can either be a per... | https://stackoverflow.com/questions/34352140/what-are-the-differences-between-flex-basis-and-width | css, flexbox, width | 1,450,430,242 |
se_44597875 | stackoverflow | FRONTEND_DEVELOPMENT | CSS won't align <li> | CSS won't align <li>
I want to set list in header section but everytime I do, my home, about and blog goes out of background color or background color minimize. I don't know how much you can understand me what I want to say if you want I can put picture where I want list to be.
header {
background: #3048... | https://stackoverflow.com/questions/44597875/css-wont-align-li | javascript, html, css | 1,497,646,575 |
se_8711287 | stackoverflow | FRONTEND_DEVELOPMENT | :after pseudo not taking direction (rtl) in consideration? (Firefox) | :after pseudo not taking direction (rtl) in consideration? (Firefox)
I have this css to put an icon after each external link:
a[target="_blank"]:after {
background: url("images/external_icon.png") 0 0 no-repeat;
border: 0 none;
content: "";
padding: 0 14px 0 0;
}
If I would to change to :before inst... | https://stackoverflow.com/questions/8711287/after-pseudo-not-taking-direction-rtl-in-consideration-firefox | css, firefox, right-to-left | 1,325,588,500 |
se_69237456 | stackoverflow | FRONTEND_DEVELOPMENT | Module build failed using css-loader while trying to import main.css file | Module build failed using css-loader while trying to import main.css file
I am trying to use node and vue js in the wordpress plugin.I am struck in the css file import.I am trying add css file into the package.json file. importing css file using css-loader. But i am getting the following error. Also can anyone explain... | https://stackoverflow.com/questions/69237456/module-build-failed-using-css-loader-while-trying-to-import-main-css-file | css, node.js, vue.js, webpack, package.json | 1,631,990,081 |
se_1022695 | stackoverflow | FRONTEND_DEVELOPMENT | Difference between @import and link in CSS | Difference between @import and link in CSS
I'm learning some CSS to tweak my project template. I come to this problem and didn't find a clear answer on the web. Is there a difference between using @import or link in CSS?
Use of @import
<style>@import url(Path To stylesheet.css)</style>
Use of Link
<link rel="styleshe... | https://stackoverflow.com/questions/1022695/difference-between-import-and-link-in-css | css, import, hyperlink | 1,245,536,392 |
se_11125727 | stackoverflow | FRONTEND_DEVELOPMENT | Why is <INPUT> wider than I told it to be? | Why is <INPUT> wider than I told it to be?
Given a <select> and an <input> element, both specified to be 200px wide:
<!doctype html>
<body>
<select style="width: 200px"></select><br/>
<input style="width: 200px" type="text">
</body>
<html>
One ends up wider1,2,3, 4 than the other:
What is the reason for t... | https://stackoverflow.com/questions/11125727/why-is-input-wider-than-i-told-it-to-be | html, css, html-select, html-input | 1,340,216,372 |
se_79974256 | stackoverflow | FRONTEND_DEVELOPMENT | How can I create my own programming language in Python HTML, CSS and JavaScript | How can I create my own programming language in Python HTML, CSS and JavaScript
I would like to create my own programming language for educational and novelty purposes. I am comfortable with Python 3xx, HTML 5, CSS and half of JavaScript. I had a go in python but I was basically just adding functions and changing the ... | https://stackoverflow.com/questions/79974256/how-can-i-create-my-own-programming-language-in-python-html-css-and-javascript | python, html, css | 1,783,115,206 |
se_79963399 | stackoverflow | FRONTEND_DEVELOPMENT | Text horizontally next to an image on a navbar | Text horizontally next to an image on a navbar
<nav class="navbar navbar-expand-lg bg-transparent "> <!--bg-body-tertiary*/-->
<div class="container-fluid">
<a class="navbar-brand m-3" ><img src="../images/main/unssaf_marquee.jpg" alt="marq" width="150" height="225">
<h1 class="style2" ><strong>WELCOME ... | https://stackoverflow.com/questions/79963399/text-horizontally-next-to-an-image-on-a-navbar | javascript, html, css, class, nav | 1,781,919,692 |
se_14178674 | stackoverflow | FRONTEND_DEVELOPMENT | If class equals something then add attrib to another div | If class equals something then add attrib to another div
I am trying to write a function that will look for the class name "blocknew", and then add to the imgframe div's style attribute. Is this even possible?
Go from this:
<div class="block"><div class="imgframe" style="background:url(images/blah.jpg);"></div></div>
... | https://stackoverflow.com/questions/14178674/if-class-equals-something-then-add-attrib-to-another-div | javascript, html, jquery, css | 1,357,439,360 |
se_79982262 | stackoverflow | FRONTEND_DEVELOPMENT | How do I fix HTML search submit button's erroneous position? | How do I fix HTML search submit button's erroneous position?
The submit button should be sticking to the text input, but it is not positioned properly, and is instead raised and to the right of the text input. I tried to fix the issue, but I'm stumped.
The image of the problem:
The code.
Here are the related HTML... | https://stackoverflow.com/questions/79982262/how-do-i-fix-html-search-submit-buttons-erroneous-position | html, css, flexbox | 1,784,557,544 |
se_7844399 | stackoverflow | FRONTEND_DEVELOPMENT | Responsive image map | Responsive image map
I have an existing image map in a responsive html layout. Images scale according to browser size, but the image coordinates are obviously fixed pixel sizes. What options do I have to resize the image map coordinates? | https://stackoverflow.com/questions/7844399/responsive-image-map | html, css, imagemap | 1,319,164,753 |
se_19114763 | stackoverflow | FRONTEND_DEVELOPMENT | Overlap DIV with another DIV | Overlap DIV with another DIV
I have a DIV .text in a .main parent in my website. I would like to overlap some part of the header and "hide" a bottom part of it.
In the example below, i would like the blue .text square to move 20px higher (up), overlapping partially the bottom of the yellow header.
<div class="header... | https://stackoverflow.com/questions/19114763/overlap-div-with-another-div | html, css | 1,380,626,151 |
se_11247706 | stackoverflow | FRONTEND_DEVELOPMENT | Sidebar's height equal to main content | Sidebar's height equal to main content
I am editing a wordpress theme here. I have a problem with the sidebar height.
How can I make the right sidebar as tall as the the main content?
PLEASE NOTE: the sidebar is kept FLUID with a "overflow: auto" parameter. | https://stackoverflow.com/questions/11247706/sidebars-height-equal-to-main-content | css | 1,340,896,606 |
se_28781290 | stackoverflow | FRONTEND_DEVELOPMENT | Javascript if statement if (ball.style.left === '0px') { | Javascript if statement if (ball.style.left === '0px') {
I think the problem is really simple, but I'm not seeing it.
I just want to move the "ball" to the left 132.5px when I click the "dice" and if the ball is 0px left.
I think the if statement is wrong!! Can someone help me?
var ball = document.getEleme... | https://stackoverflow.com/questions/28781290/javascript-if-statement-if-ball-style-left-0px | javascript, css | 1,425,123,677 |
se_21406538 | stackoverflow | FRONTEND_DEVELOPMENT | How to use font-awesome icons from node-modules | How to use font-awesome icons from node-modules
I have installed font-awesome 4.0.3 icons using npm install.
If I need to use it from node-modules how should I use it in html file?
If I need to edit the less file do I need to edit it in node-modules? | https://stackoverflow.com/questions/21406538/how-to-use-font-awesome-icons-from-node-modules | css, node.js, less, npm, font-awesome | 1,390,914,848 |
se_16684053 | stackoverflow | FRONTEND_DEVELOPMENT | CodeIgniter CSS file in application folder returns "You don't have permission to access" | CodeIgniter CSS file in application folder returns "You don't have permission to access"
In my CodeIgniter project, I am trying to do something very simple. I'm coding a stylesheet into my view. The problem comes when the stylesheet is in a different folder under the application folder called assets. Whe... | https://stackoverflow.com/questions/16684053/codeigniter-css-file-in-application-folder-returns-you-dont-have-permission-to | php, css, codeigniter, path | 1,369,200,259 |
se_44613870 | stackoverflow | FRONTEND_DEVELOPMENT | How to get class (Index) serial number of clicked button | How to get class (Index) serial number of clicked button
I need help!
HTML
<input type="button" onclick="myFunction()" class="myButton" value="Button1">
<input type="button" onclick="myFunction()" class="myButton" value="Button2">
<input type="button" onclick="myFunction()" class="myButton" value="Button3">
<input t... | https://stackoverflow.com/questions/44613870/how-to-get-class-index-serial-number-of-clicked-button | javascript, html, css | 1,497,780,383 |
se_44711536 | stackoverflow | FRONTEND_DEVELOPMENT | Executing the function appear() appear inside If statement | Executing the function appear() appear inside If statement
//Blinking of the letter " X " on the Screen
function blink() {
document.getElementById('blinkText').innerHTML = "";
setTimeout("appear()", Math.random() * 3000);
}
//Re-Appearing of the letter " X " on the Screen
function appear() {
document.getElement... | https://stackoverflow.com/questions/44711536/executing-the-function-appear-appear-inside-if-statement | javascript, html, css | 1,498,179,859 |
se_13662021 | stackoverflow | FRONTEND_DEVELOPMENT | Full width background image in footer | Full width background image in footer
I am working with 960gs (in my local environment) and I insert this CSS code into my footer div:
#footer {
background: url(https://placehold.co/1800x130) repeat-x scroll top transparent;
height: 130px;
width: 100%;
overflow: hidden;
}
<div id="footer">
<div id="nav" cl... | https://stackoverflow.com/questions/13662021/full-width-background-image-in-footer | html, css, wordpress, footer | 1,354,381,719 |
se_79699078 | stackoverflow | FRONTEND_DEVELOPMENT | How to keep buttons always at the bottom of the Ion Sheet Modal? | How to keep buttons always at the bottom of the Ion Sheet Modal?
I am using ion modal with breakpoints so it has handle and I can resize it.
Good State #1
Good State #2
Here in this picture you can see the correct thing:
And also when I click submit it is correct with the invalid messages:
But the proble... | https://stackoverflow.com/questions/79699078/how-to-keep-buttons-always-at-the-bottom-of-the-ion-sheet-modal | html, css, vue.js, ionic-framework, tailwind-css | 1,752,303,912 |
se_42239778 | stackoverflow | FRONTEND_DEVELOPMENT | Items that span all columns/rows using CSS grid layout | Items that span all columns/rows using CSS grid layout
With the CSS Grid Layout Module soon shipping in Firefox and Chrome, I thought that I'd try to get a handle of how to use it.
I've tried to create a simple grid with one item a spanning the left side of all of the rows, with the other items (b, c, d, e, etc.) spa... | https://stackoverflow.com/questions/42239778/items-that-span-all-columns-rows-using-css-grid-layout | html, css, grid, css-grid | 1,487,126,436 |
se_66380039 | stackoverflow | FRONTEND_DEVELOPMENT | How to change fill color for React icons? | How to change fill color for React icons?
I want to change the color of React-icons. Say, for example {AiFillHeart} icon. I want to change its fill color to red. How can I do this?
I have tried <AiFillHeart style = {{color: 'red'}}/>. But it does not works. | https://stackoverflow.com/questions/66380039/how-to-change-fill-color-for-react-icons | css, reactjs, svg, icons, react-icons | 1,614,312,923 |
se_36836785 | stackoverflow | FRONTEND_DEVELOPMENT | Display flex and line-clamp | Display flex and line-clamp
I have problem with line-clamp on Chrome.
When I use display:-webkit-box everything works fine but when i put display: flex (which is newest version of display: box) that it doesn't
Example | https://stackoverflow.com/questions/36836785/display-flex-and-line-clamp | css, google-chrome, flexbox | 1,461,576,888 |
se_44513023 | stackoverflow | FRONTEND_DEVELOPMENT | Pop up mobile menu issue | Pop up mobile menu issue
Having issues with the mobile menu for a site. Opening and closing animation of the background is no worries, gets the information up there, whenever I am testing and click on one of the links it just closes the animation and nothing happens. Also can't get the close animation of the text to w... | https://stackoverflow.com/questions/44513023/pop-up-mobile-menu-issue | javascript, html, css | 1,497,331,829 |
se_44505724 | stackoverflow | FRONTEND_DEVELOPMENT | How to center bootstrap row elements? | How to center bootstrap row elements?
I'm trying to figure out how to center the contents of a row bootstrap. I'll explain:
The Row consists of 12 columns (as normal for bootstrap). In my layout, I use only 9 (3 elements out of 3). How do I make the excess space be equally divided between the outer margins of my width... | https://stackoverflow.com/questions/44505724/how-to-center-bootstrap-row-elements | javascript, html, css | 1,497,289,700 |
se_44130986 | stackoverflow | FRONTEND_DEVELOPMENT | Align elements in form of a table horizontally | Align elements in form of a table horizontally
I am making an App in which I have a slide in/out menu. When this menu is displayed I want it to show the images in two rows. Since there are many images, I want to have a horizontal scroll to navigate through them as well as arrows.
My problem is that I am not able arr... | https://stackoverflow.com/questions/44130986/align-elements-in-form-of-a-table-horizontally | javascript, html, css | 1,495,531,970 |
se_28870932 | stackoverflow | FRONTEND_DEVELOPMENT | How to remove white border from blur background image | How to remove white border from blur background image
How to remove the white blur border from the background image?
I tried adding margin:-10px in the CSS but it doesn't work.
.background-image {
background: no-repeat center center fixed;
background-image: url('http://www.hdpaperz.com/wallpaper/original/windows... | https://stackoverflow.com/questions/28870932/how-to-remove-white-border-from-blur-background-image | html, css, blur | 1,425,534,601 |
se_54405995 | stackoverflow | FRONTEND_DEVELOPMENT | Position a link in HTML, using attributes | Position a link in HTML, using attributes
I am building a website, using django, CSS, HTML.
I have posted some parts from an html file I am dealing with currently. I am a newbie in CSS/HTML. So I have problems with positioning the links which you can see below, using attributes top, left, right. The attributes margin... | https://stackoverflow.com/questions/54405995/position-a-link-in-html-using-attributes | html, css, django, href | 1,548,691,667 |
se_44059913 | stackoverflow | FRONTEND_DEVELOPMENT | How to do two symmetric rectangular triangles in JavaScript | How to do two symmetric rectangular triangles in JavaScript
I would like to do something like this with JavaScript.
This is my code for creating the first half:
var numberOfLines = 10;
var str = '*';
var space = ' ';
for (var i = 0; i < numberOfLines; i++){
document.write(str ... | https://stackoverflow.com/questions/44059913/how-to-do-two-symmetric-rectangular-triangles-in-javascript | javascript, html, css | 1,495,155,981 |
se_43379496 | stackoverflow | FRONTEND_DEVELOPMENT | Popup pointing to button CSS | Popup pointing to button CSS
I have a button in my form. When I press the button i want to execute my CSS script. The CSS code shows a popup box.
Goal
The goal is when i click on the button it fires up my CSS popup which will be pointing to my button.
Edit
I managed to get the popup showing onClick but now the popup b... | https://stackoverflow.com/questions/43379496/popup-pointing-to-button-css | javascript, html, css | 1,492,030,549 |
se_33554194 | stackoverflow | FRONTEND_DEVELOPMENT | HTML Section with many elements – must stay together | HTML Section with many elements – must stay together
I need to display a section of text that contains something like this:
Also, three of these vertical lines of data need to be on the page. All independent from each other. I am having an awful time figuring out how to line everything up and keep the sections... | https://stackoverflow.com/questions/33554194/html-section-with-many-elements-must-stay-together | html, css, subscript, superscript | 1,446,755,432 |
se_79981091 | stackoverflow | FRONTEND_DEVELOPMENT | CSS layout and animation issues: Sibling hover not triggering animation and absolute positioning breaking | CSS layout and animation issues: Sibling hover not triggering animation and absolute positioning breaking
I am building a football animation using purely HTML and CSS (no JavaScript). I am running into three specific issues:
Hover Animation: I want the ball to be set in motion when the home-btn (the round white butto... | https://stackoverflow.com/questions/79981091/css-layout-and-animation-issues-sibling-hover-not-triggering-animation-and-abso | html, css, css-animations | 1,784,143,006 |
se_35022505 | stackoverflow | FRONTEND_DEVELOPMENT | Vertically Center Sub and Super Script in HTML | Vertically Center Sub and Super Script in HTML
Is there a way to vertically center a sub and super script at the same time? I would like the "e" vertically centered with the "r".
<span><sup>e</sup><sub>r</sub>Team 1</span> | https://stackoverflow.com/questions/35022505/vertically-center-sub-and-super-script-in-html | html, css, subscript, superscript | 1,453,837,465 |
se_43982854 | stackoverflow | FRONTEND_DEVELOPMENT | Using getElementById() with bgcolor attribute | Using getElementById() with bgcolor attribute
Why doesn't this code work?
<!DOCTYPE html>
<html>
<head>
<title> Home </title>
</head>
<body id = "b" bgcolor = "lightblue">
<button onclick = "document.getElementById('b').bgcolor = 'lightgreen'"> Light Green </button>
... | https://stackoverflow.com/questions/43982854/using-getelementbyid-with-bgcolor-attribute | javascript, html, css | 1,494,860,729 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.