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
-
1
votes1
answer802
viewsHow to place a div with page content on the side of the vertical menu that came included?
I have the following structure for now: The side menu came by include_once 'menu.php' and the page we’re looking at is home.php. CSS from the menu: .longBarVertical { width: 180px; min-height: 100%;…
-
1
votes1
answer1735
viewsScroll does not work in the bootstrap modal
I have a modal with an image on the left and several comments on the right, but on the right I wish there was a scroll as the comments did not fit in the modal. Then I have this Row with several…
-
1
votes1
answer1284
viewsScroll bar only in a div
I’m trying to create a table with only two lines. My intention is that the table is responsive and that the scroll bar appears only in the second row if the content exceeds the height. In the Chrome…
-
1
votes1
answer500
viewsChange background image without fade
Good afternoon, in a site I’m creating has this image as "background image" in a div. I’m trying to make some of the windows in the buildings blink, to have a nice effect, animation in the…
-
1
votes1
answer133
viewsHow to activate animation of the SVG drawing when arriving in his div?
I put a file in SVG to have an animation as if creating it in lines (unfortunately in the example below is not working, but in my file is.) With this code below, as soon as I enter the page, the…
-
1
votes3
answers115
viewsvoting system
I’m making a website and I would like to have a voting system, but I didn’t want it to be with stars but with coffee cups (I got it from this site: font-awesome). But I can’t leave it to the girls,…
-
1
votes2
answers1339
viewsCenter image within LI
I’d like to center the images vertically, within the li. I tried to use vertical-align: Middle, and did not succeed. .marcas { margin: 30px auto 0; padding: 60px 0; height: 185px; background:…
cssasked 6 years, 12 months ago Felipe Viero Goulart 3,693 -
1
votes0
answers265
viewsError selecting date focused on bootstrap datepicker
I’m using the bootstrap datepicker version 2.0. // Expected behaviour When you type a day it is focused on the calendar so, when you click on this day in focus, you must fill in the date. // Actual…
-
1
votes2
answers77
viewsGeometric shape with css
I needed to play the image in css, I tried some options of Transform and I can’t stretch one end. My question is how to take the bottom of the left and make it bigger downward than the right. The…
-
1
votes1
answer1735
viewsTouch-action for what? CSS
I’m getting a warning on the console of Google Chrome: [Intervention] Unable to preventDefault Inside Passive EventListener due to target being treated as Passive. See…
-
1
votes3
answers704
viewsBackground image
I’m developing HTML marketing emails, but I’m having problems in the footer, where there is a background url and in the mobile version it defaults: my code: .background-gray2-no-padding {…
-
1
votes1
answer326
viewsWaves effect materializes
I’m testing some components of the materialize, because I’m a beginner. I noticed that the effect of the "Waves-Effect Waves-light" class is not working. I wanted to know what is happening, I tried…
-
1
votes1
answer1241
viewsGithub Pages failing to load resources with error 404
I tried to move up a project I had done some time ago, and using the Github pages to play online, I find it difficult to render. The files he can’t load are all in repository, I don’t understand the…
-
1
votes1
answer1034
viewsDropdown does not fit the screen
Hello, I’m starting my migration to Bootstrap 4 and I’m trying to make a dropdown aligned on the startling right of the layout. The problem is that by clicking on the menu it does not adjust the…
-
1
votes1
answer5846
viewsHow to remove inner shadow from button or input
When clicking on the button appears a gray shadow at the top, creating an effect kind of 3d, however I want to remove it. How I want it to look when I click: How are you: My HTML: <div…
-
1
votes4
answers252
viewscss does not work with div added with append
I have a list and in it I add the elements with jquery append , and the list elements do not capture the css of my style file, just ignore it. Because? html: <ul id="list_arquivos"></ul>…
-
1
votes2
answers1385
viewsEdit inside a modal
I have a table with data and one of the fields has 1 edit button. What I want is that, when clicking, it opens me a modal with all filled data of the respective line that I clicked. I already…
-
1
votes2
answers977
viewsTable body with overflow:scroll misaligned relative to header (HTML/CSS)
I have an alignment problem in a table where I needed to apply a scroll bar in the body, leaving the header fixed. It happens that the body cells are misaligned in relation to those of the header.…
-
1
votes2
answers102
viewsProblem Aligning Content with CSS
You can see directly on the website at this link: http://www.cinepophd.ml/index.php?browse/playseries/1/1 Can anyone tell me why the episode grid is getting like this: The code I’m using is: <div…
-
1
votes2
answers1929
viewsHow to put active class in navbar
I’m trying to put an active class in the navbar, I’m using bootstrap, what happens is that when I click on the li, the background color appears but soon it disappears. Follow the code I’m using the…
-
1
votes1
answer653
viewsCatch attribute with JS
I’m trying to make a product cart, and so far so good, already working, beautiful thing, however, as always, there are problems, I’m kind of new at JS, so to catch a lot, I’m trying to get the…
-
1
votes2
answers1429
viewsHover with two effects: increase and decrease width of different Ivs
I own 5 divs forming a column. I want that when I hover the mouse over one of the columns this column increases the width by 4% and the others become the size of 19%, causing an accordion effect. I…
-
1
votes1
answer4397
viewsCenter Horizontal Menu on Top of Screen in CSS
My menu is on the left of the page, I want to leave it centered, How do I do ? Follow my HTML page and My CSS: <!DOCTYPE HTML> <html lang="pt-br"> <head> <meta…
-
1
votes1
answer41
viewsHow to check an Imagepattern of a Rectangle in Javafx?
I’m trying to check in this method if my Square, which inherits from Rectangle, was filled with an Imagepattern through the getFill function(): public boolean HouseIsValid(House Square) { return…
-
1
votes1
answer1669
views -
1
votes1
answer623
viewsBootstrap 4 Nav bar
Good morning This is the code I use in my menu bar, but when you do Collapse the button is the whole size of the bar by raising the logo icon, I wanted the Collapse button to look the way it should…
-
1
votes2
answers2131
viewsChange display property with jQuery
I want to change the display of div content block, as it is clicking and hiding the one that was previously clicked. How could I do that to jQuery? .conteudo_1 { display: none } .conteudo_2 {…
-
1
votes0
answers375
viewsbackground menu
Give me another question I’m having? I’m trying to add a background, but it’s no way the only way q appeared was by creating a new div c background name. looks like the html code: <!doctype…
-
1
votes1
answer1897
viewsEntire and centralized Modal Bootstrap
I put Modal Bootstrap in my template as a test to display messages on the screen but it appears cut in the corner of the screen. How to adjust and center Modal on the screen without getting cut?…
-
1
votes1
answer603
viewsProblem with footer
Would somebody give me a hand? I’m having a problem with the footer of a site q I’m creating it is not getting at the end of the page it gets a white part at the bottom of it even being at 100% of…
-
1
votes1
answer770
viewsHow to align UL items on the same line?
The slider on this link: http://azaz.com.br/blog/ was with the indicators (UL items) aligned, but when I checked to stay dynamic with wordpress, adding the template tags (code below), they…
-
1
votes1
answer83
viewsHow to use line-height with percentage?
There are two Examples one with PX and the other with % but I don’t know how to use % what I put in all2 to be the same as all1? #tudo1{ background: blue; width: 20%; height: 50px; margin-bottom:…
-
1
votes1
answer830
viewsWhy doesn’t my modal close?
Why doesn’t my modal close? I couldn’t find anything wrong, especially when compared to other similar fashions that I have. When I click the close button, it does not give the Ismiss, do not…
-
1
votes2
answers959
viewsChange the color of values
I own a <form> in which I return information I consulted in the comic book, so far everything is working perfectly, however I would like to change the color of the value according to the…
-
1
votes1
answer599
viewsSet maximum height and exact position of a button in a DIV on the page
I would like to know how to put the red X button on top of the div how are: how I want it to stay: currently the class of my boot is like this: position: absolute; top: 9%; right: 2%; by putting…
-
1
votes1
answer71
viewsProblem leaving a Responsive service
I’m having trouble letting a 100% Responsive Section get like this: When you zoom in on the page, it goes like this: Code: .fundoserv { display: block; overflow: hidden; background-position: top…
-
1
votes1
answer1600
viewsHTML-CSS hide and show submenu does not work
I’m trying to make a menu that opens when passing the mouse opens the corresponding submenu. In this case, the "blouses and shirts" menu should be with its submenu closed, opening only by hovering…
-
1
votes1
answer980
viewsMenu include for other pages
Speak guys, I’m trying to learn in php race, I’m developing a home site and I would like my Menu to stay fixed on all pages of this my site. This is the.php menu file that I want to use on all other…
-
1
votes3
answers641
viewsJavascript or jQuery - Remove attribute pseudo elements
How, via Javascript or jQuery, I can remove or change to None the value of an attribute content of the css below: .btn-group-vertical>.btn-group:after, .btn-group-vertical>.btn-group:before,…
-
1
votes2
answers738
viewsHow to simulate Login using Javascript
Hello, I would like to simulate a login, basically when a certain email and password chosen by me are inserted the script will login with display:none; and another div I still have to create with…
-
1
votes3
answers111
viewsI want to make a bar with my logo and my submenu
As I mentioned in my title, I wanted to make a bar. I don’t explain well what I want, but I’ll leave the link to a restaurant that has what I want to do: https://www.restaurantlarive.nl/nl/ Here is…
-
1
votes1
answer1372
viewsLabel positioning
I use Jquery Validate to validate inputs, but when validation fails, an error message label is created next to the input. My goal is to have this label shown below the input, without changing the…
-
1
votes1
answer258
viewsAreá de Clientes em html
I would like to set up an area that shows all our customers on my site, as if it were a mini slide ,as in the image below , what is the simplest way to do? I followed all the steps correctly but…
-
1
votes1
answer978
viewsImages with different size in Materialize slider
I’m willing to let the slider images of Materialize all the same size, but I’m not succeeding. I left this code to make the slider responsive, only the images are different sizes. CSS .section-slide…
-
1
votes1
answer2050
viewsSkip row in HTML/CSS/PHP table
Hello! Good Morning, Good Afternoon or Good Night! I have a little problem for a while and I just realized now (after about 10 pages of this type), I have a page that lists all the data of the table…
-
1
votes1
answer164
viewsOverlapping divs
I have a search input, which adds the mechanistic tbm, but the result is getting overlapped <div class="col-lg-4"> <label for="mecanico">Mecânico</label> <div…
-
1
votes1
answer344
viewsSkew effect with css
People needed to make an effect skew via css transform: skew(40deg); but in doing so it distorts the text of my link would also like to know if there is a way to do this to only change the…
-
1
votes2
answers1396
viewsSpecify Modal Size
I added a modal to my site, and I’m trying to change the size of it. But as much as I change his css , does not apply on the site, I’m changing in the file bootstrap.min.css from my site, as in the…
-
1
votes1
answer98
viewsRedirect page if user does not interact (click, touchstart, Mousemove)
I need to redirect to a "rest screen", if the user does not interact via click/touch, drag and mouse movement. Whatever you can do <script type="text/javascript"> var meuTempo; meuTempo =…
-
1
votes1
answer1337
viewsHow to remove the white bar from the background?
my html <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Ensintech</title> <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">…