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
votes2
answers57
views -
1
votes1
answer219
viewsShow Textarea Full Text in Print
Taaarde Galera, I have a question, where at the time of the print my textarea does not show the full text. I wonder if you could help me show him? Example of how this:…
-
1
votes2
answers162
viewsAdd original width/height to image tags
Is there any way to pass CSS code to HTML tag? Example, I have the tag below: <img src="../img/cS-1.jpg" alt="Smiley face"> any css code I put for this image to appear inside the img tag when…
-
1
votes3
answers6042
viewsHow to limit the size of Body to be centered on the Css screen
body{ font-family: gotham, arial, helvetica, sans-serif; font-size: 18px; margin: 0; padding: 0; margin: 0 auto; }
-
1
votes1
answer779
viewsUse bootstrap Alert 3
I’m trying to use bootstrap Alert in a project, but I’m having trouble doing it, what I have at the moment is this: if (sNome == "" || sTel == "" || sCEP == "" ){ $("p.erro").html("Todos os campos…
-
1
votes1
answer500
viewsFixed Action Button in Materializecss does not work
It just doesn’t work, the button even appears but none of the buttons work. I tried using materialize via CDN and local but there was no change. I believe there is no error in the code because after…
-
1
votes2
answers1980
viewsHow to put frame on an image?
I’m trying to put a different frame on the image but it’s not working, follow how I’m doing, I want the image inside the frame with a Hidden the html <div class="depoimentos__moldura"> <img…
-
1
votes1
answer485
viewsSticky-top Bootstrap Does Not Work
Can you tell me if I need to change anything in my CSS or JS to run Bootstrap Sticky-top? I am using version 4.5 of Bootstrap and CSS formatting just put a Height manually in the menu, the rest is…
-
1
votes2
answers296
viewsHide half an icon on a Card
I have this code (Bootstrap 4): <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css" rel="stylesheet"/> <script…
-
1
votes1
answer685
viewsDisplay balloon popup on a label
I would display a small message to the user, style those when passing the mouse, if I am not mistaken would be the attribute alt="my message" however I am using Asp.net-mvc-5 and I am finding it…
-
1
votes1
answer193
viewsHow to smooth appearance of Ivds
At the event onloadfrom my site, I carry a function in which makes a loading gif that was appearing, so that the content of the site appears. <body onload="carregar()"> <div…
-
1
votes1
answer89
viewsCreate progress bar with jQuery’s Hover()
I need to create a progress bar while my cursor is on top of an image. If the cursor leaves, then I need the progress to be reset to repeat the process if the cursor goes back over the image. When I…
-
1
votes2
answers433
viewsCss Hover Transition
Friends, I have the following code https://codepen.io/narrador/pen/vWbrPr In the current effect when I move the mouse the Hover effect changes the background and increases the proportions of the div…
-
1
votes1
answer65
views"Automatic" footer
I’m making a website to index links. There are times when the result occupies less than half the page, and times it takes up a huge scroll. I need a footer that in little content is stuck at the…
-
1
votes1
answer122
viewsProblem with icon overlay on commit button
In a store based on Prestashop, in the backoffice, there is a button that has an icon inside that is preventing the submission of a button, as could cause the icon to be ignored when clicking this…
-
1
votes4
answers8000
viewsCreate floating button that accompanies a table scroll
I need to create a floating button that accompanies my scroll as I go along, and I want to put a function back on top. #voltarAoTopo { float:right; z-index:0; } <button id="voltarAoTopo">…
-
1
votes0
answers343
viewsBootstrap is not being rendered by _Layout
I have this layout page. This layout already came, I didn’t make it. I just don’t understand why it was created if I opted for a MVC Empty(Empty) project, but it’s not bothering me. <!DOCTYPE…
-
1
votes2
answers6733
viewsCentralize Web Page Content
I’m trying to create a simple page in HTML, resizable, where the content is all centered vertically. But I’m not able to center the text boxes in any way. This code will initially be the graphical…
-
1
votes2
answers3247
viewsHorizontal scroll bar with bootstrap 4
My dear, my site is popping on the sides generating a bottom scroll bar and next to the right edge is a whole white part. I can’t see where the mistake is. Here’s a print of what’s going on. Follow…
-
1
votes2
answers2704
viewsBootstrap 3 - Input spacing
I’m building a form that in some moments will have 3 columns and more than 4 lines but I am not able to do that when starting the new line the spacing between inputs is respected, see in the block…
-
1
votes1
answer2389
viewsCustomize Select Option
I need a Select equal to the image: But this is from Twitter Bootstrap and I use Bootstrap 4 and in the documentation I did not find anything like this. You can do it with Bootstrap 4 or even in…
-
1
votes2
answers44
viewsI place a jquery and the site enters direct id
I have this script with css and jQuery of different color tabs, when I include the line: To leave the first tab open. $(document).ready(function(){ $('.abas:first').trigger('click').focus(); }); The…
-
1
votes2
answers476
viewsCodeigniter; Calendaring Class: highlight the current month in an annual calendar
I made a method that writes a VIEW with a calendar table that shows every month of a year using the library Calendaring Class. It works well, and returns it: Code: <?php class Calendar extends…
-
1
votes0
answers53
viewsLarger font-size renders in Safari
Are there CSS or other reasons why Safari / iPhone would ignore some font size settings? On my private site, Safari on iPhone produces some font size: text 13 px larger than the font size: text 15…
-
1
votes1
answer314
viewsHow to change the theme of Dashboard nebular NGX-Admin?
Hello, I wonder if you have how to change the theme and color of Dashboard nebular NGX-Admin? Thanks in advance.
-
1
votes1
answer809
viewsChange CSS value according to Scroll
I need that when scrolling the page, apply css to div, example: When the user arrives at half of the site, or at the desired Section, apply a CSS from this point to a div, as the page scrolls down,…
-
1
votes1
answer61
viewsBackground problems
I’m having trouble filling my background with a specific color, in this case, blue. Follow the code of my application: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"…
-
1
votes2
answers43
viewsselector does not work: $("div + p")
Would someone like to tell me why this command line isn’t working: $("#marcas_select + #modelos_teste").css("background-color", "yellow"); Here’s the full code. As everyone can see the goal is to…
-
1
votes1
answer227
viewsLeave input wrapped with dashes when using Jquery Validate
I am using the plugin Jquey Validation and I am trying to leave the error mark in the input as in the image I am passing attached, I tried some alternatives and the result was not as expected, what…
-
1
votes1
answer1230
viewsRange: change color of progress bar in Chrome
In the firefox it is possible to change the color of the slider using: ::-moz-range-progress. Is there any way to do Chrome also? HTML <input type="range" class="bar" min="1" max="100"> CSS…
-
1
votes0
answers34
viewsSmooth CSS text
I know it is impossible to make the texts to be displayed in a uniform way in all browsers, but I have the problem below that is bothering me a little, although in the images it does not seem much,…
-
1
votes1
answer173
viewsSlide show overlaying the menu
I’m having a problem with my slide shoqw he’s overwriting the menu. follows the code: https://jsfiddle.net/mgodq202/…
-
1
votes1
answer126
viewsToggle button, button class
Well I’m trying to make a toggle button, but I’m in trouble the button I want needs a class to style in css. button class="button button1">Shadow Button</button , but the toggle button code I…
-
1
votes1
answer215
viewsStretch an element div over the entire length of the table
I have a table with many columns that leave the screen of the screen. Above this table I have a div with a h2. I’m not getting that div expands beyond the screen to cover the entire width of the…
-
1
votes0
answers128
viewsHow to activate Animate.css plugin from scroll?
Good morning I started using the plugin of Animate.css and the animation is working. However I wanted it to activate when the scroll arrived in the element. The effect is already occurring when the…
-
1
votes2
answers118
viewsProblem leaving a background img no body{} reponsive
I have a problem to leave a background img no body{} reponsive. img: code: body{ background-position: center; background-repeat: no-repeat; color: #000000; background-attachment: fixed;…
-
1
votes1
answer90
viewsProblem with body and background tag-Attachment: Fixed;
@import url('https://fonts.googleapis.com/css?family=Paytone+One'); html,body { height: 100%; /* é necessário definir o height 100% no html, body ou qualquer elemento que estiver entre o body e o…
-
1
votes2
answers1217
viewsOverlay two images with :
My goal would be for an image in . png to be above an image . jpg when passing the cursor over it. I tried with the following code: .image{ width: 320px; height: 180px; } .image:hover{ content:…
-
1
votes1
answer35
viewsHelp with "Prism Syntax Highlighter" does not work right
I have a little problem adding "Pre Code" to my blogger. When I add codes in the "language-css" markup for example, the added codes work perfectly, but when adding html languages in the…
-
1
votes0
answers61
viewsI’m having a problem at a service
I’m having a problem leaving a Section with the icons horizontal, they’re vertical and I can’t fix it .. full html code: @import url('https://fonts.googleapis.com/css?family=Paytone+One'); *{…
-
1
votes1
answer41
viewsI’m having a problem with a script
Good at the code : <!doctype html> <html><head> <meta charset="utf-8"> <title>Documento sem título</title> <!-- PLUGINS --> <link…
-
1
votes1
answer88
viewsWhat is the track Listing and grid track in the grid layout?
I read the documentation of Mozilla but I could not understand very well what would be the grid track and nor the track Listing, someone could explain in a simpler and intuitive way what would be…
-
1
votes1
answer138
viewsToogle button with html action
I am developing a website , and would like to create a "Show More" button when clicked will show a text , but the list that will be below will go down , as exemplified in the image , which method…
-
1
votes1
answer449
viewsWindow by clicking the html button
Hello, and I’m creating an area on my site, where when the person clicked on "shows more" would open a window on the site itself , showing the content as in the image below, but I have no idea how…
-
1
votes3
answers334
viewsProblem in image rendering
The image is all "pixelated" does not look as it should, which can be? The original image has great resolution and the size is 1200x1200, decrease the size of it also did not change the result In…
-
1
votes3
answers340
viewsResponsive alignment on footer
I would like some help to align the footer responsiveness. Put the copyright down further (I’ve tried padding, but it disappears) and align the separators in the section(border-right), the rest is…
-
1
votes0
answers209
viewsSpinner Horizontal with CSS
I’m trying to create a spinner horizontal from a simple image only with CSS (not counting the JS trigger, of course). But so far I have not succeeded. The effect I would like would be as well as the…
-
1
votes1
answer1155
viewsHack CSS to work only on Internet Edge
In other browsers is with the correct alignment, but I went to test in internet explorer windows 10 and is with a break in the layout, I’m trying to use the hack below, but does not want to work. /*…
-
1
votes1
answer109
viewsModal button disappears when using browser scroll
I wanted to leave the modal button fixed at the top of the page, but when I use the scroll from the browser, the close button disappears, this only happens in one of the modals being that all 7 are…
-
1
votes0
answers384
viewsHow to know where a specific script is running on a given HTML element?
There is a javascript running on a given page, I would like to find out where it is, ie the path or at least the name. For example: ". /files/global.js.download". I have a page that has several with…