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
answer147
viewsHover when selected an option in select
In the current code when I click on the checkbox the Hover is enabled for the letters and for the background I am trying, do this same effect but with select, when choosing a select option on the…
-
0
votes5
answers1555
viewsHow to display DIV if radio is marked?
I have the following code: <form> <input type="radio" id="div1" name="consulta[]" value="1">Opção 1 <input type="radio" id="div2" name="consulta[]" value="2">Opção 2 <input…
-
0
votes1
answer87
viewsMobile Phone Repair x Desktop
You guys, good night. I am early trying to set up my website. It is working perfectly in the desktop version and in the mobile version it creates a blank part. I’ve tried EVERYTHING to solve and I…
-
0
votes2
answers138
viewsChange menu with CSS
I am developing an application where I would like when scrolling the page bar until half the page a floating menu appears that is fixed at the top of the page but I do not know how to do. Regular…
-
0
votes1
answer752
viewsHow to use model variables in a view in Django
I need to calculate the average of a school report where the data are filled in in Django Admin, I would like to take each value make the media and play on a table in View. Code: MODEL class…
-
0
votes1
answer1887
viewsCalling delete function on onclick button
I want to press the DELETE button and delete X database data this is my product type.php <?php require("header.php"); ?> <?php require("menu.php"); ?> <?php require…
-
0
votes1
answer27
viewsThe icon is not working
<?php require_once 'Classes/ProjetosVO.php'; require_once 'Classes/ProjetosDAO.php'; $objBDProjeto=new ProjetosDAO(); $objProjeto= new ProjetosVO(); $rsProjeto=…
-
0
votes2
answers3860
viewsHow to make element appear after scroll
I want to make a simple effect, which would be to apply an effect of animate in a div, increasing her height after scrolling the page and, when the page scrolled to the top again, that div back to…
-
0
votes1
answer127
viewsSet CSS <ol> height so that the text does not evolve the number
I need to make a list of topics with the numeration on the side, I used the html to do this, only I’m not able to make it look like the image below I’m doing like this .numeros_cases, ol{…
cssasked 6 years, 11 months ago Wagner Martins Bodyboard 698 -
0
votes2
answers1411
viewsOpen/Run input file - jQuery
How can I open/Run an input file using jQuery?! I have a php code that has the input file your css display:none;(Invisible), I need that when I click on an element, for example an image the input…
-
0
votes0
answers208
viewssave div to pdf preserving css
Hello, I am trying to save pdf using jspdf script but it is not working properly, the code is: var pdf; pdf = new jsPDF('landscape');…
-
0
votes2
answers11171
viewsWhat is -Webkit-Moz-box- for in css?
In the code below, what does the excerpts -webkit- -moz-box-? .hh1 { display: block; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; float: none; z-index:…
-
0
votes2
answers477
viewshow to change the color in each selectitem of a jsf selectOneRadio
I have a selectOneRadio that has 3 options : Finishing, embargo and Shipping <h:selectOneRadio value="#{solicitacaoImpressaoBean.entrega.tipoGuia}" class="tipoGuia" > <f:selectItem…
-
0
votes0
answers43
viewsFlash animations converted to HTML5 do not fit in div
I converted a series of flash animations to HTML5, but after the conversion the animations (now in Html5) are not set inside the DIV. Before the conversion it was like this: <video…
-
0
votes2
answers1312
viewsHow to separate two li
I’m making a site for work and I’m not able to separate two li for certain resolution. Below the print below the menu html <div class="container"> <div class="row"> <div…
-
0
votes1
answer307
viewsIs it possible to create a JS file for all pages?
I have several pages, I wonder if it is possible to use the same JS on the same page. For example: I have a HOME page, where I carry the pages "son" inside a div (content), but for each page, I need…
-
0
votes0
answers101
viewsHow to maintain uniform slide time regardless of the amount of slides?
I have the code below that works normally. But with an inconvenience: The more images I put on the slide the faster the images change. I would like to make sure that, regardless of the amount of…
-
0
votes1
answer158
viewschange content color according to values in the table
someone can help me thank you I receive values in the format ex: 5/7 is the result of the scoreboard that the user registers and can view on the same screen, if I had only the number I believe that…
-
0
votes2
answers273
viewsChange color according to text typed in Textbox
Hello! I need a code that changes the background of some Textbox as soon as the page is loaded according to what was "taken" from the database, my idea would be as follows: the textbox has 2…
-
0
votes3
answers97
viewsHow to separate the title and content in html?
<!DOCTYPE html> <html> <head> <title> Meu teste </title> <meta charset="utf-8"> <style> #titulo { background-color: blue; position:fixed; } </style>…
-
0
votes2
answers114
viewsIf it doesn’t fit in the div, show: more x results
I need to solve the following problem: I have a div that displays a list of names that are loaded according to a query condition. This list of names varies a lot, sometimes appears 5, sometimes…
-
0
votes0
answers546
viewsChange parent element style from child element with CSS
Good afternoon, I wonder if you have how to change the background of the father div when the child element(img) gain mouse focus(:) .pai{ padding: 20px; background-color: #ffb3b3; display:…
-
0
votes0
answers43
viewsChrome update Crashou Css
I have a problem with the css of my web application. I started working at this company a few weeks ago as an intern and I’m having to solve some bugs that have appeared, mainly related to google…
-
0
votes2
answers256
viewsI’m having a problem with padding/ margin
css code: .row { display: block; overflow: hidden; background: url(../images/faq.png); background-position: top center; height:auto; background-repeat: no-repeat; color: #000000;…
-
0
votes0
answers197
viewsCSS takes time to load in window resize
It’s a beginner’s question yet, I’m using the materialize framework and I’m having a problem that when I shrink or enlarge the window some elements take time for css to load, or sometimes I need to…
-
0
votes2
answers563
viewsDiv shows no picture
I’m learning how to create websites now and I’m having trouble inserting image by css. When I use the tag ;img src="image.jpg", in the file . html the image appears, but if I put it in the . css…
-
0
votes2
answers1103
viewsProblem with a class in css and html
Well I’m in trouble when I call the background in body{} it appears as it is in img: but when I use the same css code for a div or a Section it appears nothing . as in this image : Well the css code…
-
0
votes1
answer38
viewsI’m having trouble removing an html numbering
I’m having trouble removing a numbering of html I’ve tried everything and nothing the slide looks like this: And how I would change from img to text? Html code : <!doctype html> <html>…
-
0
votes0
answers42
viewsHow do I make a monitored html cursor work?
Two screens/ two chess and each screen with a respective cursor are displayed. This cursor will increase or decrease the number of squares. How do I make the cursor that is associated with each of…
-
0
votes1
answer1860
viewsHover on one element and changing the color of another element
I would like when passing the mouse over the green element the pink changed to the blue color. #primeiro{ width: 300px; height: 300px; background: red; float: left; } #segundo{ width: 150px; height:…
-
0
votes1
answer56
viewsModal / script does not appear in the box. and
Could someone help me with what’s missing from my right modal? Only css missing or missing something in the code? code: <!doctype html> <html> <head> <meta charset="utf-8">…
-
0
votes1
answer51
viewsProblem with slide show img’s
Code: // Can also be used with $(document).ready() $(window).load(function() { $('.flexslider').flexslider({ animation: "slide", controlsContainer: $(".custom-controls-container"),…
-
0
votes2
answers32
viewsA doubt regarding the toggle button
I made a toggle button using this code: // Hide all the elements in the DOM that have a class of "box" $('.box').hide(); // Make sure all the elements with a class of "clickme" are visible and bound…
-
0
votes1
answer101
viewsProblem with modal
I do not know why when I click it does not open I called everything right and css is quiet .. @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700); html, body { width: 100%;…
-
0
votes0
answers71
viewsHow to work with interchangeable menu?
I’m trying to implement an interchangeable menu, see below: When you click on the three chopsticks it opened a vertical menu on the right side of the screen: When you click on the three chopsticks,…
-
0
votes1
answer93
viewsJquery modal var
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700); html, body { width: 100%; height: 100%; margin: 0; } .page-wrapper { width: 100%; height: 100%; background: url() center…
-
0
votes1
answer368
viewsHow do you make the lightbox appear in front of everything?
I use the Banner do Ebit for customers to be able to evaluate the purchase on the website, however the lightbox it always appears behind all the elements of the page. How to make him appear in front…
-
0
votes1
answer1438
viewsI am unable to call a jquery file in html
Well I’m having a problem to call a script the navbar appears all right as in img: But the script doesn’t load I don’t know what happens I’ve tried to change the order and everything and it won’t ..…
-
0
votes1
answer59
viewsMenu changing page content
Speak guys, I am producing a Site and I made an HTML + CSS Menu, the only problem is that the Menu is changing the positioning of the things that are below it, example: If there is a menu and below…
-
0
votes1
answer309
viewsProblem leaving a fixed video in the background of a Section
( Section background is fixed, but video is not ) Could someone help me get the video fixed equal to bg from Ction? code: @import url('https://fonts.googleapis.com/css?family=Paytone+One'); *{…
-
0
votes1
answer242
viewsI’m having a problem loading the page she goes straight to the footer
When opening the page on the localhost it goes straight to the footer: And it doesn’t start in the headline: The problem is in the form, but I have no idea of pq.. ] code: <form id="contact"…
-
0
votes0
answers28
viewsPadding an X panel when adding class in a Y panel (both from the same parent panel)
Good night my people, I have a screen where I have a sidebar on the left side. When I define it with the CSS class. modoCompact it gets 50 pixels wide, adjusting the buttons and layout. When I put…
-
0
votes1
answer249
viewsMenu only appears on scroll up
Good afternoon, someone can exemplify a script to make the menu of a particular Website only appear when we scroll up? Here is my menu ul.menu{ list-style-type: none; margin: 0; padding: 0;…
-
0
votes0
answers34
viewsProblem with navigation on tabs
Well I’m trying to do a tab navigation on a page, but I’m having a problem putting it Responsive and it’s not working someone could help? the code: ul.tabs { margin: 0px; padding: 0px; list-style:…
-
0
votes1
answer406
viewsMy pull-right class isn’t pushing the menu to the right can anyone help me?
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Victor - Design Bootstrap</title> <link rel="stylesheet" type="text/css"…
css html5 twitter-bootstrap bootstrap-3 bootstrap-4asked 6 years, 10 months ago Alice Vitor Rodrigues 11 -
0
votes1
answer1039
viewsInsert percentage in progress bar (JAVASCRIPT)
I made a progress bar with bootstrap. Then each time something is filled in the table a certain percentage more is inserted in the bar. The data that is entered into the table comes from an API, so…
-
0
votes1
answer291
viewstrasition effect in menu does not work on Chrome firefox works normal
This is the CSS code: *{ margin:0; padding:0; } header{ margin-top:10px; } nav{ margin:0px auto; max-width:1000px; width:100%; } nav ul { list-style:none; } nav > ul { display:table;…
-
0
votes2
answers1354
viewsChange div size by hovering the mouse
I have a page with some Divs and would like to apply an effect when the mouse goes through some of them. What I would like to happen is that, when passing the mouse through one of the Ivs it…
-
0
votes1
answer150
viewsReplace image (logo in the top left corner of the page) with a second logo (edited) Scroll page (Scroll)
Good afternoon! I am needing that when scrolling my website page by scroll bar or mouse scroll, the logo be replaced. My logo is inserted into the page through a class in bootstrap.css Follows:…
-
0
votes1
answer307
viewsNavigation bar with more than one Dropbox in bootstrap
I tried to create a navigation bar where you have the following columns: Home, Registration -> Customer registration and consultation -> Customer consultation. When I am in the query menu I…