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
-
0
votes1
answer34
viewsMenu with border
I’m developing an application that contains a menu with border would like the menu to look like this But I’m not getting to leave the edge like this and neither round look like this will put my css…
-
0
votes2
answers413
viewsBorder of different colors
I want my text to have the borders as follows: Top: black Side: Grey Follow an example of how I’d like you to stay: Follow image as far as I can. How do I make the top edge black and increase the…
-
0
votes2
answers395
viewsHow to make CSS hide a PHP routine
I need a routine PHP another is hidden and displayed using CSS. 'Cause I have a routine in PHP which generates column numbers to display my information, but it will be necessary that when the…
-
0
votes1
answer23
viewsApply a class to the Selected tag
Well I have a very simple menu that I put together in css, I was wondering if you have how to identify the <li> that is tagged selected and apply the effect of the Hover that is in the class…
-
0
votes1
answer222
viewsCss dropdown menu when opening should make the page dark
I made a dropdown menu with bootstrap, but I want that when this menu opens (it opens on top of the content of the page), the whole page is in an opaque effect. I tried to do something like this by…
-
0
votes2
answers1750
viewsHow to use JS object variables for colors in CSS
if I have an object JS for ex: cores = { main: "#333", institutional: "blue" } and I use styled components to build my styles css so I create him like this: styled.View` background-color:…
javascript css react react-native styled-componentsasked 5 years, 4 months ago Julio Henrique 4,352 -
0
votes0
answers107
viewsLeave the select colored
I have the following select: <select> <option>opção1</option> <option>opção2</option> <option>opção3</option> <option>opção4</option>…
-
0
votes2
answers43
viewsChange object class <i> within <a> tag
With the following code: <a class="btn btn-primary botao" style="background-color:#009999" onclick="importar_txt_cnes()"><i class="fa fa-bolt" style="font-size:1em;"></i>…
-
0
votes2
answers369
viewsAlignment of div within html
I have two Divs, when hidden the first need that the second ascend to her place, but she does not move, as I can do for her is in place of the first div, ie climb? Follows the code: <!DOCTYPE…
-
0
votes0
answers29
viewsDeleted CSS is still affecting the HTML file
I was creating a basic site in HTML, so I decided to tinker a little with CSS to organize where each thing of the site would be using the divs, so I created a separate file to work with CSS. At…
-
0
votes2
answers310
viewsDynamically mount Timeline in html on page . aspx
I would like to ask a little help from the forum, to mount a dynamically html Timeline using the Asp.net font-end or code Behind C#, in a SQL-based Web Forms application. I need to assemble I…
-
0
votes1
answer44
viewsWhy is my div getting an extra 40px?
I am studying css3, I am creating crids within crids and there is something wrong, my ul that has with the class "side" is earning 40px extra, consequently the li son "grid1" is with space on the…
-
0
votes0
answers38
viewsVideo that completes the entire screen
I want to make my video complete the whole browser window, I tried to put with width and height 100%, but it doesn’t work. Only Width fits the screen but height does not. Html code: <!DOCTYPE…
-
0
votes1
answer54
viewsImage Slider - CSS
I’m Layman in Programming, but I need the images to stay on screen for 10 seconds. I tried to change the CSS, but no sync with the changes. html, body { width: 100vw; height: 100vh; overflow:…
cssasked 5 years, 4 months ago Igor Alves 31 -
0
votes0
answers76
viewsBlogger Posts in Horizontal Slip
Guys, I’m new here and I want a hand with Blogger, I can’t solve a problem that I’ve been trying to solve for days, and if there’s no way, then I’m quitting. I don’t know how to program right, but…
-
0
votes3
answers1798
viewsMake Bootstrap columns fill 100% of the Row width
I think it’s something simple, but since I’m a beginner in Bootstrap I haven’t figured out how to do it. What I want is for the columns to fill the full width of Row, I put a red border on the sides…
-
0
votes2
answers322
viewsDoubts regarding a large string bursting the table td tag
I’m retrieving some data from the Mysql databank and it’s bringing everything right. However, one of the fields is a URL that when is passed to a tag <td> of the table it passes right is not…
-
0
votes1
answer579
viewsTake the cell value of a Javascript table
[Help] I need to enter the node value automatically in the last input text "Gesamt" after entering any value of the first vertical column, inside the input text "Mundlich" and the first horizontal…
-
0
votes1
answer145
viewsplay button does not appear
Hello I put my video in HTML but the video does not appear with play button, can explain me what to put to be able to play the video? <video src="./videos/video2exemplo.mp4" type="video/mp4"…
-
0
votes2
answers79
viewsProblem of website formatting
A test site I created has huge spacing, I have no idea how to fix it, it’s not responsive at all. The problem is probably related to the HTML and CSS of the site. Follow both below (these are small…
-
0
votes0
answers105
viewsCSS Animation & Angular JS
Making a small application with Angular and Material Design. To leave more cute I decided to put some simple animations. The first of them is the Slideinright that the screen should slide to the…
-
0
votes1
answer60
viewsBackground animation does not work on Microsoft Edge
I tested the code on Chrome and it worked normally, someone knows what that is?? body{ background-image: url("blo.jpg"); background-position: center center; background-attachment: fixed;…
-
0
votes2
answers522
viewsWhy is the navigation bar overwriting the header?
As you can see the navigation bar is covering the header (which the banner as background), but in theory (based on my knowledge, of course) the header should start right after the Nav. NOTE: I tried…
-
0
votes2
answers134
viewsHow do I leave the right-aligned button on top of the table?
Well, I’m creating a system of registering people using HTML, CSS, JAVASCRIPT my application is working normally, the application is very complex and it is quite code I recommend you to run the code…
-
0
votes1
answer1047
viewsResize image according to device size
I have an image that has by dimensions 360 x 640 pixels and should be used as background of a div. At first div will occupy the entire screen of the device. Situation Due to my application being…
-
0
votes0
answers18
viewsImage is not getting responsive (Bootsrap)
Gentlemen(a) I have a problem when I leave the page in this resolution (as shown below 1024px)... I wish I knew where I was wrong :/ $(document).ready(function(){ // Add smooth scrolling to all…
-
0
votes0
answers57
viewsEffects of Hover happening automatically on @media
Hello! I’m doing a Hover effect on my project (Assigning a CSS style to a specific element within a div), in boxes, that when I step the mouse it expands and displays a text and a button that did…
-
0
votes0
answers51
viewsElements changing position when the screen is resized
Good afternoon, I’m learning position and wanted to know what the error in this code, because the images stay in the position I want when the screen is full, but when the screen is resized they…
-
0
votes1
answer32
viewsRandom backgrounds on each page load on static pages
I’m creating a site/blog with Jekyll, and I created a banner.html and includes it in the default layout, but I wanted to make loading the page all the time a different background on this banner and…
-
0
votes2
answers95
viewsPage does not recognize href=" "as if there was no href=" ", nothing happens - PHP
I’m finishing up a project, but I had a little problem. On the page there is a "button" where a document is downloaded. But when you hover over, or even click, nothing happens, it’s like any…
-
0
votes1
answer478
viewsDiv with same image height in Bootstrap
I have an image to the left and another 4 blocks to the right. I needed the four blocks to follow the height of the image, even when changing the resolution. HTML: <div…
-
0
votes1
answer58
viewsHow to make the IMG tag display the image with real dimensions and responsiveness?
I have a dynamic list on php of commercial guide in which there are banners with several dimensions, only that all are being stretched to the maximum. How to make banners be listed each in their…
-
0
votes2
answers319
viewsSelect combobox from a click on the table row
I have a combobox and a table: I would like every time when clicking on the table, select the item in the combobox according to the click. Follow example of the problem. Try to click several times…
-
0
votes2
answers11985
viewsButton in the center of the screen
I found here the solution, in case someone needs position:absolute; top: 500px; left: 200px; Hello guys I started a new test here for an application, and I’m having trouble putting the button in the…
-
0
votes0
answers68
viewsProblems with Carousel Bootstrap
I’ve been trying for hours to use Bootstrap’s Carousel to display products. I did it myself didn’t work, so I found this code https://codepen.io/kreigd/pen/ybYNoN I put in a file alone, separate…
-
0
votes1
answer476
viewsOpen and close menu
I have the following menu, which works when the screen is with width: 768px or less. When I click on fa-bars, he disappears and shows the fa-times. Opening the menu. So far so good. I want when I…
-
0
votes1
answer42
viewsButton calling page
Where in my css code I add an on.click to call href to another page .meubotao { -moz-box-shadow: 0px 1px 0px 0px #000000; -webkit-box-shadow: 0px 1px 0px 0px #000000; box-shadow: 0px 1px 0px 0px…
-
0
votes2
answers48
viewsProblems with 'onsubmit' in 'setTimeout' form and function
When I invoke the 'validate' function nothing happens. What is my mistake? I also need to make the message 'validate' and 'like' functions disappear after 5s (I could not use setTimeout) function…
-
0
votes1
answer50
viewsCSS and BOOTSTRAP No Margin Image
Good guys I’m weak in HTML/CSS and bootstrap. I want to make a site with full background image (no margin). Ex > Example I want to copy But when I put this bootstrap code to show the modal below,…
-
0
votes1
answer269
viewsProblem with Z-index
I’m having trouble using the z-index. The elements #questionSingUp and #actionSingUp CSS are not overlapping with div .loginActionWrap. I tried to change via Javascript but also could not. var…
-
0
votes1
answer37
views -
0
votes5
answers1042
viewscentralize a Nav menu
How can I center this menu? ul{ margin: 0; } ul { list-style: none; } a { text-decoration: none; } .clearfix:after { display: block; content: " "; clear: both; } #site-navigation { background-color:…
-
0
votes2
answers428
viewsHover and Disabled at the same time
I have 2 buttons. I want one to be disabled and the other to be in effect Hover. When I do so below the two buttons are with effect. How do I make the button that is disabled have no effect?…
-
0
votes2
answers66
viewsLarge Button with Image
Good morning, I’m new to HTML and CSS and want to make a site similar to this Similar site. My website is like this . I would like the modals Infrastructure, Security, Systems and Telephony to be…
-
0
votes1
answer69
viewsDiv is ignoring the padding of the parent element
I’m having trouble using a div, for some reason he’s ignoring the padding the parent element. <div data-v-fae5bece="" class="flex xs12 sm12 md12 lg12"><div data-v-fae5bece=""…
-
0
votes1
answer904
viewsHow to change the color of a mat-button in Angular?
How does it become possible to change the color of an angular mat-button? I’m using Theme Indigo-pink, and it has a pink Accent, I don’t think it matches, and I’d like to change to another color,…
-
0
votes2
answers1540
viewsShow and hide div by clicking button
I would like to click on the start test button, the div counter appears, and when clicking on next test, the div id=01 disappears and only shows the id=02 and so on, always when I click on next test…
-
0
votes1
answer1279
viewsDIV Absolute respect padding DIV father
I need to put a div with the property position = absolute. However, the div father has a padding and the width: 100% of div son does not respect this padding. Would the only way out be to define the…
-
0
votes1
answer174
viewsInternal elements overlapping <Section>
The tag <b> superimposes the tag <section> see example when using padding: Note in the image above that the light gray bar refers to section gets smaller height than the tag b. That is,…
-
0
votes2
answers97
viewsHow to remove the spacing generated by the tag a?
When I enter the tag a to link the img, generates a space at the bottom of the images. See the image below! Although the space is small, it is very annoying not knowing how to solve: I need the link…