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
votes2
answers158
viewsPrevent a scroll from appearing in horizontal html
Guys I’m configuring my css but it appears a scroll horizontally already tried in various ways and nothing! Follow the code: @charset "UTF-8"; body{ width: 100%; height: 100%; background-color:…
-
0
votes3
answers759
viewsHow can I make a div hide on the side and when clicked appear on the screen?
How can I make div hide on the side of the screen? Note the side menu of this site http://preview.imithemes.com/? Theme=Solicitor-WP I tried it a way but didn’t someone know a way? my None display…
-
0
votes1
answer122
viewshow to add semicolon in animated number that activates with the scroll movement in javascript
I am a laywoman in javascript. My boss dreams of putting such a "stopwatch" on the site (animated numbers that trigger a movement similar to a machine counting the numbers, which activate when you…
-
0
votes1
answer35
viewsTabs causing the dropdown to close
Someone can help me, I put the tabs inside a dropdown and when I change the tab the dropdown closes. Login Login Novo Login Antigo <div class="tab-content"> <div role="tabpanel"…
-
0
votes2
answers35
views -
0
votes1
answer500
viewseffect on input with jQuery
Well I set up a system and very precise input with android, I used CSS and jQuery. But I wanted to put an accurate effect with the Google lite material. Follow the example link:…
-
0
votes1
answer37
viewsBest method for uploading images
I have an AMP page that I load the logo image by inserting the link inside the img tag, so: <amp-img src="//i2.wp.com/www.meusite.com.br/wp-content/uploads/lgootipo.png" alt="logotipo"…
-
0
votes1
answer625
viewsSpacing two Ivs with bootstrap
I’m two Ids that are glued together and I wanted to give them a vertical survey, but I’m not doing it right. I’m wearing the bootstrap space between the file button and the save button in case…
-
0
votes1
answer52
viewsFlip over elements Collapse
I have an element that I want to turn it as I click on it, this element is a Collapse: <td><a class="fa fa-chevron-down iconedetalhes" data-toggle="collapse" href="#collapse{{i}}"…
-
0
votes2
answers538
viewsImage does not change size - flexbox
good afternoon. I’m trying to get the 3 images aligned in a single line when the screen grows, but my attempt to change the image size to 33% is not working. I would like to put the title PORTFOLIO…
-
0
votes2
answers176
viewsTable width of html does not increase as requested for outlook signature
I need to do a signature in html and css for outlook and need to have a width of at most 320px for adjustment on mobile phones, I did so but the width I ask does not stay, someone can help me, I…
-
0
votes2
answers42
viewsProblem with jQuery in display
Guys I’m having a problem, https://jsfiddle.net/1qd6yj8w/8/ where when the user clicks on the photo - needs to change image, this is already in the test , however the user when clicking on the image…
-
0
votes2
answers697
viewsFixed div passing behind the others
Hello, the first div of my site has the fixed position (position:fixed) and when I roll down, it gets behind the other elements like images and etc. It doesn’t work even if I put position:absolute…
-
0
votes1
answer88
viewsExchange vh for px
I’m having the following problem: I have a page that has several slides in HTML even. All these slides have their size set by vh instead of pixel. The problem is that when I access with mobile, the…
-
0
votes1
answer786
viewsDiv daughter overlapping parent div who has overflow: Hidden
I want the daughter div 'overlap' the father div that has an overflow: Hidden and a fixed size. This parent div is an item from one of a Carrousel library made with JS and it adds a fixed size and…
-
0
votes1
answer3766
viewsCheckbox alignment
Talk to me, baby? I’m a beginner, I ended up having a difficulty aligning my checkbox, if someone can give a hint of how I should proceed, follow the excerpt of my HTML: <li> <label…
-
0
votes2
answers4346
viewsHow to center and position side by side two images? html css
HTML: <div id="ladoalado"><img src="imgs/login.png"><img src="imgs/cadastro.png"></div> CSS: #ladoalado{ float: left; margin: auto; } Code image:…
-
0
votes1
answer1765
viewsHow to change the initial positioning of the modal?
How can I change the initial positioning of the Modal Box from Bootstrap? I would like him to stay a little lower, which with 3 <br> have already solved, but in the way quoted seems more a…
-
0
votes1
answer1509
viewsJSP Eclipse Project - Linking CSS style page
how to correctly link my style sheets in my JSP Servlet project? Below is the structure of my project. Also I do not know if the correct hierarchy. Help me. I already tried ..…
-
0
votes1
answer347
viewsCarousel Boostrap
Hello. I’m trying for the first time to make a Bootstrap. The Carousel is only in the first image, it does not change automatically nor when I click on the side buttons. HTML: <!DOCTYPE html>…
-
0
votes1
answer369
viewsCSS - bar (decoration)
I’m trying to create a bar like the one in the image, the bar that has product etc. I have the following code: <div id="topcart"> <thead> <tr> <th>ISBN</th>…
-
0
votes1
answer305
viewsShow and Hide field with Select
I’m trying to display some fields of a form and partly I can make it work, but not completely even already reviewing the code. I need to show the inputs with the labels and hide inputs with their…
-
0
votes1
answer146
viewsSave time user watched video and continue watching
Well, I finished a course in PHP, I’m not an expert and I’m creating a course system. I need that when the user starts attending the class, the system saves the running time of the video every 3…
-
0
votes2
answers118
viewsCSS attribute does not work
I have a very boring problem. I’m creating a table and I’m putting a 5% padding on it. E When I go in the browser to check if this is right, the attribute is in the element, but it is not applied.…
-
0
votes1
answer356
viewsJavascript using mobile browser does not run
I have a javascript that makes formatting form fields, it works much more on mobile does not work. I appreciate the help <script> function formatar(mascara, documento) { var i =…
-
0
votes0
answers61
viewsCss with ID does not work within <h:form>
I put ID on a button inside a form but its CSS is not working CSS: #Conf{ width: 30%; } #OutNU{ margin-right: 15%; width: 30%; } HTML: <p:panel id="ForgPasswd" style="width: 400px; margin: 0…
-
0
votes1
answer498
viewsSimple gallery in CSS
I’m trying to make a gallery for a website and I would like the photos to be displayed only within the div class="conteudo". I tried to define a height and a width to the div but the photos appear…
-
0
votes3
answers887
viewsLimit Value of Input
Hello, have a input called expense, and the entered value may not be greater than 1,000.00, if it’s greater than 1,000.00 appears a modal onscreen. Could you help me in how to make this javascript,…
-
0
votes1
answer620
viewsMaterialize.css insert icon over a card image
Hello, I have some cards in materialize.css that I would like to insert over the image (.card-image) a specific icon (in the example the video icon), but I’m not getting it. <div…
-
0
votes1
answer85
viewsJquery effect does not work as expected
I created a div that when clicking with the mouse on top, its background is filled by a certain color. There are several div’s that act this way, aligned side by side. The id’s of these divs are…
-
0
votes1
answer141
viewsWhat are the advantages of using the box-Sizing property on elements?
I would like to know the advantages of the CSS box-Sizing property.
-
0
votes2
answers75
viewsI cannot use Pseudo-classes in css
Hello. I’m trying to put a style in the links on my site, but when I open the site does not apply the changes I put through css. I used the following code I’ve researched some places, but none…
-
0
votes1
answer76
viewsDimensioning of Layout
How to solve this layout problem.By reducing the screen to div contracts ,not occupying all screen space. Basically I defined a width and a height in px.…
cssasked 6 years, 1 month ago thiago xavier 339 -
0
votes1
answer42
viewsFlexbox problem in Firefox
I was making a Form that has to stay horizontal and that the inputs within it are responsive. I made the code in Chrome works perfectly however my problem and with Firefox, simply inputs do not…
-
0
votes1
answer330
viewsScreen resolution (DPI) css
I intend to do a layout of a book, and there are thousands of information. I can look them up on a page and add them to the comic book. Later he would pull them, do some calculations, and return…
-
0
votes1
answer42
viewsResponsive layout in an image
Good morning dear programmers, today I disturb you again with my questions of beginners. I wonder why I can not make this responsive image with reduced size(In case I put 80%), when I do this is…
-
0
votes0
answers408
viewsDiv fixed on top and another div with scroll below
Hello, I’m trying to (unsuccessfully) leave a div with menu components at the top and another div fix just below this. I left the first div fixed and put a margin-top on the second but when I scroll…
-
0
votes1
answer746
viewsTraverse color gradient according to value
I need to represent the temperature of a place using colors, the lowest temperature I should represent with blue, the intermediate with yellow and the highest with red. But I can’t just fix these 3…
-
0
votes2
answers794
viewsSidebar with accordion effect
Given a sidebar, how do I get the effect of a accordion? Currently, my sidebar works almost perfectly. This means that by clicking menus that have submenus, they are expanded. I’m just not getting…
-
0
votes1
answer475
viewshorizontal ion-card
Has some form of ion-card grow horizontally and not vertically? It is populated by data that comes from the api <ion-card *ngFor="let filmes of lista_filmes_popular"> <img…
-
0
votes2
answers344
viewsIn CSS, how do I, when giving a "Hover" in a text, give the image a "Scale(xx)" and underline the text?
In addition to the text underline, how do I, at the same time as this occurs, give the image a Scale(xx)? The image and the text have different classes in my CSS file. I just need a north, a way to…
-
0
votes2
answers1014
viewsChange text color in Ionic
I’m making an application with the black background, and so the letters need to be white. Have some global variable to change the whole text at once, instead of changing each page at a time?…
-
0
votes1
answer2954
viewsPhp does not load Css
Good people, I am making a very simple page, to return to the programming. Here’s the problem: my php is not loading Css, Img or Js. Yes, I’ve tried to put the absolute/relative path My directories:…
-
0
votes1
answer56
viewsHow to apply my Css to a child tag
Inside my tableRow there is a tableHeader and I want to apply my CSS within the tableHeader How shall I proceed ? <tr> <th><?= $properties['propertie_id'] ?></th>…
cssasked 6 years ago Mike Otharan 896 -
0
votes1
answer412
viewsElement exceeding the size of the div
I have a col-md-4 that has a figure and a figcaption, when hovering the mouse above should be displayed to figcaption with two little buttons the effect works, the problem is that the figcaption is…
-
0
votes1
answer55
viewsHow to take the value of a slidebar and show in an output?
I put a slidebar in my project with values from 0 to 10 and would like it to show these values chosen by the user below or above it, I took some examples on the internet and tried to modify and had…
-
0
votes0
answers13
viewsLoad CSS in PHP instantly
I noticed that as I edit the CSS on PHP pages, the styles take a long time to get in (some scripts and HTML code as well), sometimes disabling Easyphp and enabling again. Sometimes anonymous mode in…
-
0
votes1
answer124
viewsSplit table into two div
Hello I have four div with fixed size 300px each, and a table in the first div, I need that when this table exceeds the size 300px the rest of the content go to the second div and so on. #pg1{…
-
0
votes1
answer278
viewsElement does not accept "height" or "min-height" property
I have the following file with HTML, CSS and Javascript codes, my problem is the following: At the end of the file, I have a tag <ul class="req"> and within it I have a <li>, the problem…
-
0
votes0
answers63
viewsMake a text with overflow-x: Hidden move automatically
I am fixing the width of the li and sending all the text that exceeds stay Hidden, now I would like to make the part of the text that this hidden automatically move to appear on the screen. HTML: ul…