Most voted "css" questions
Cascading Style Sheets (or simply CSS) is a style language used to define the presentation of documents written in a markup language, such as HTML or XML. Its main benefit is to provide the separation between the format and content of a document.
Learn more…8,314 questions
Sort by count of
-
-3
votes1
answer207
viewsProcess form data with javascript and html
I wanted to make a program that the user would send 3 notes and after pressing "Calculate", you would be redirected to a page that would appear your average. Who could help me: function calcular() {…
-
-3
votes1
answer135
viewsCSS Cellular Effect
I would love to learn this effect on the advantages of the app on the site https://www.linx.com.br/payhub/shopbit/? gclid=Eaiaiqobchmi65qb46-n3wIVEoORCh1Xxg9iEAAASAEgJlS_D_BwE Effect seen on link…
-
-3
votes1
answer254
viewsDropdown menu - transform <ul><li> into <select><option>
I’d like to put up the menu dropdown on my site when choosing variations. Both on mobile and computer. I found this article teaching to do, but in the script I could not properly replace the terms…
-
-3
votes1
answer192
viewsHow to remove a certain element when making the site responsive?
people I know it sounds like a dumb question but here’s the thing I’m doing a responsive website and of course what I did to web won’t fit into a mobile phone. So supposing I made for web a table…
-
-3
votes2
answers220
viewsWhy does my Javascript with Class not work?
<!DOCTYPE html> <html lang = "pt-br"> <head> <meta charset = "UTF-8"/> <title>JS 1</title> <style type="text/css"> * { font-family: arial; } body { margin:…
-
-3
votes1
answer220
viewsSubmenu Bootstrap in Jquery for Typescript
I am starting my studies with Typescript and I am trying (and need) to modify a code that I found ready, which is in Jquery. But I need it all in Typescript, but I’m not able to make it work yet.…
-
-3
votes1
answer80
viewsI’m not getting to call class in css in the conventional way
I’m starting to use vs code now, but when I try to reference a class created in html code, by css, I need to do without a point, I can’t understand what kind of error this might be. follows the 3…
-
-3
votes2
answers1544
viewsHow to insert a LI into a UL with Javascript?
I’m looking to add a LI between two LI’s of a UL. I don’t have access to the CSS/HTML code of the website template, if it would not create easily, so I’m thinking about adding via html and…
-
-3
votes2
answers176
viewsRun Modal Code Behind ASP.NET?
I’m trying to run a modal through ASP.NET and I got it; Using the Script <div id="mymodals" class="modal" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div…
-
-3
votes2
answers358
views -
-3
votes1
answer32
viewsSite background is not being resized along with @MEDIA
I’m starting to use @media on CSS3, I’m starting to produce now, but when I put the visualization on Chrome for any device smaller than the resolution gets a 1200px white background and the right…
-
-3
votes2
answers75
viewsI would like to know how to change the color of a button for 1 second and then return the original color automatically
I was able to change the color of the button at the beginning of the repetition, however I do not know how to return the original color to the end. let interval = setInterval(function () { if (i1…
-
-3
votes2
answers128
viewsCan someone help me with that effect?
Does anyone know how to do that "curve" effect on a div? link to img I was trying to do more I couldn’t. The code I was using: body{ height: 100vh; width: 100vh; background:#7ABCFF; display: flex;…
-
-3
votes1
answer76
viewsBootstrap tooltip floating on the page at random
How are you guys, all right? There is a recurring problem with bootstrap TOOLTIP, which does not disappear after removing the mouse and if you scroll the page it goes to the corner of the page as in…
-
-3
votes1
answer47
viewsI need to remove this circular border that the background-color I inserted is leaving around the icon, does anyone know how to do?
HTML: <div class="contato"> <a target="blank" href=""><img src="/icones/instagram.png" alt=""></a> <a target="blank" href=""><img src="/icones/whatsapp.png"…
-
-3
votes2
answers78
viewsAlign menu icons inside a <li>
I’m not getting to align icons to the right of my menus. For some reason they appear below where they should be. Below is the code to understand the problem. And here jsfiddle. I’m a beginner in the…
-
-3
votes1
answer274
viewsNode js does not render the page’s css style
I ran the Node on a screen I had done in CSS and HTML with Bootstrap and does not load the styles. Failed to load Resource: the server responded with a status of 404 (Not Found) * Refused to apply…
-
-3
votes1
answer72
viewsHelp with HTML and CSS site menu
I want to put a logo in place of the red rectangle,. body { border: 0px; margin: 0px; padding: 0px; font-family: 'Roboto', sans-serif; } #menu { background-color: #483D8B; padding: 5px; } #menu ul {…
-
-3
votes1
answer58
viewsSuperimpose one <div> to the other keeping them aligned to a third <div>
Hello I have a problem to align overlay two images. There are two images A and B, and B should be on top of A and both aligned at the bottom of another div that is in the center of the page. I’ll…
-
-3
votes2
answers498
viewsDo you have an HTML command that leaves one way on your phone and another on your computer? And do you also have a universal code for the size of the elements?
I’m creating an HTML page for someone special, I believe this person will open the page on mobile, however, my page appears in two different ways on computer and mobile. On the computer she appears…
-
-3
votes1
answer102
viewsHow to decrease margin between links with flexbox
Hi I’m trying to decrease distance between links and change side this hamburger icone. I’ve tried the most I could was a space-aroud on ul on mobile, JS is font-awesome. If anyone can take a look *{…
-
-3
votes1
answer28
viewsHow to prevent the scrolling of a given element?
I have a list of several items, the first being a <div>. I want this one <div> always be in the same position (visible at the top), regardless of whether the scroll bar moves up or down.…
-
-3
votes0
answers39
viewsSlider with problems. It does not work two lines
I’m using the "Slider Syncing" by SLICK SLIDER (here https://kenwheeler.github.io/slick/) to make a slide that when you click, appears more information of it. For example, if I click on the first…
-
-3
votes1
answer39
viewsHow do I display in columns instead of a grid ? preference inside the <div> tag
{ data.data && Object .keys(data.data) .map(cli => { return( <tr key={cli}> <td>{data.data[cli].nome}</td> …
-
-3
votes2
answers329
viewsHow to put elements in the same line?
I’m trying to put some text and some small images on the same line, and leave the whole block centered on the screen. I’ve tried to use float:left in everything, and stays in the same line, but then…
-
-3
votes1
answer20
viewsSlides form a vertical list
I put the slides in a Carousel, but I still haven’t identified the problem of them staying upright and not side by side .gallery .control-button { color: #ccc; color: rgba(255, 255, 255, 0.4); }…
-
-3
votes1
answer86
viewsAdd score in memory game in Javascript
Good evening I need help adding to my points system code. When I hit two cards make even 2 in 2 points and need to appear on the game screen? Follow code below <!DOCTYPE html> <html…
-
-3
votes1
answer49
viewsWhy doesn’t my modal show up?
<body> <div class="content"> <div class="modal" tabindex="-1"> <div class="modal-dialog"> <div…
-
-3
votes1
answer44
viewsDropdown Menu Bootstrap bug when clicked
I have implemented a basic dropdown (bootstrap) menu on my website. It works normally when clicked at the beginning of the page, however, if I scroll down a little and go back to the top of the…
-
-3
votes3
answers201
viewsHow to change colors dynamically with Javascript and pure CSS?
My goal is to create dynamic themes where I can change the colors of the classes with js, for example after a request in the database. The example I’ll give is, a class that defines the primary…
-
-3
votes1
answer48
viewsCan someone help me with the slide show?
People appreciate if anyone can help me, I’m starting the course now and I don’t have much experience yet. I’m doing a job and I have a slide with three images that need to run as carousel and with…
-
-3
votes1
answer45
viewsHow to know the parent element size and change child element attributes? [Styled Components]
Good afternoon, how do I know the size of an element to change the width of another child element? I have a Container element that wraps the Table when the table have a width greater than 1400px I…
-
-3
votes3
answers47
viewsHow do I make a DIV appear when positioning the mouse on top of an img?
I’m having difficulty making a menu on the site I’m mounting, I want when the user positions the mouse pointer on top of the image in the upper left corner, open a menu at the same location where…
-
-3
votes1
answer88
viewsHow to convert an HTML to text using Javascript
I’m having a little doubt if there’s any way to do this: Code function escrever() { var text = document.getElementById("text").value; var paragrafo = document.getElementById("modal-body").innerHTML;…
-
-3
votes1
answer19
viewsI cannot place the logos on the right side of the screen, next to the title, they are below the div on the right side
html <h2>WANTED</h2> <div class=""> </div><!--menu principal--> </div><!--header-1--> </div><!--logo--> <div class="redes-sociais">…
-
-3
votes1
answer41
viewsHow to use the same Script several times on a single page?
I have to use the same Script several times throughout the construction of the page, but I’m only able to use it once, when I try repeat the script structure in another slider it does not alter the…
-
-3
votes1
answer59
viewsScroll a div automatically using CSS overflow
I made a type of typeWrite(typewriter), with html css and javascript. I put an overflow: scroll on my div where when she breaks the line I wanted the scroll to kind of accompany the content ,without…
-
-3
votes1
answer31
viewsHow to overwrite Divs without position Absolute and relative? CSS
Good afternoon, folks, how are you? I’m looking for a way to overlay div’s position without Absolute and relative, would like? if I use any of these, it ends up leaking into my header (which is with…
-
-3
votes1
answer46
viewsfix the menu at the top of the page
I have a header with my logo on top and just below the menu. I would like the scrolling page, the menu to go to the top, and the header to disappear. html header: <header class="cabecalho">…
-
-3
votes1
answer49
viewsScript does not obey the loop in button view
I am making a simple program, however I am with an error at the time of displaying the information, the following occurs, after generating the loop I click on one of the buttons, and regardless of…
-
-3
votes1
answer63
viewsI can’t center text - CSS
I need to center the header text, I’ve tried several ways and it doesn’t work. Does anyone know where the bug is?? * { margin: 0%; padding: 0%; box-sizing: border-box; font-family: 'Poppins',…
-
-3
votes1
answer24
viewsBootstrap conflicts with my css. How to do hr with middle text
I’m trying to use this to make a horizontal line with a word in the middle, but the bootstrap won’t let me use it, it disappears with the line (I took the bootstrap link that is in the head to test…
-
-3
votes0
answers19
viewsHow do I increase fade time in without slowing down?
is that Fadeinout only has 10s how can I make it longer sla about 25s without slowing down? I suspect it’s changing Fadeinout for another, but I don’t know which function…
-
-3
votes1
answer58
viewsI can’t understand the difference between percentage and px in CSS
Good morning! I’m creating a simple menu (header), but I can’t understand when I use px or percentage. For example: this is the header I created: I put the following settings on it: .header {…
-
-4
votes1
answer17721
viewsdo a submenu - example on a site below
I’d like to adapt my code to create a submenu like this one : http://red-team-design.com/wp-content/uploads/2011/03/css3-dropdown-menu-demo.html for example in "Categories" - "css" then another side…
-
-4
votes1
answer503
viewsBecause sometimes, when you add images to a page, if you mouse over it, does it move?
Because sometimes when we add some images on a page, some move and others don’t? That’s a problem browsers? Or the problem must be in the CSS? Why "damn" when you mouse over the image it moves? SEE…
-
-4
votes2
answers367
viewsHow do I use a CSS from the site url?
I wonder if there’s a way I can use a different CSS for a "Java" web system without having to include it in the source code? I have a new CSS file that I resized the buttons and spaces and I need to…
-
-4
votes1
answer111
viewsHtml css text alignment
How to adapt a text over a photo, where it will start at the bottom of the photo or div and rise as the size? example below:…
-
-4
votes1
answer222
viewsFooter Fixed - Z Index
I’m making a fixed footer while scrolling on the screen. But I put z-index: -1 to be under all my contents. When I do this it overrides the Footer Links. But if I put z-index:0 it sits over some…
cssasked 9 years, 1 month ago Diego Souza 16,524 -
-4
votes1
answer1592
viewse-mail sending with bootstrap
I saw the comment below on a post, I wonder if you had this script to send email by bootstrap, I could not locate on the site of the same. "I recommend using the very script provided by bootstrap..…