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
votes0
answers57
viewsError 404 on deploy
Hello, I am developing an application using spring boot, locally it loads everything perfectly (I am referring to static files) but when I deploy in Heroku I is returned error 404 for css files.…
-
0
votes1
answer57
viewsHow to exchange the SVG drawing for a PNG image after completing the animation?
Good afternoon! I put a drawing in SVG on my site, and put an animation for when the drawing is visible on the screen, start the animation of the drawing if "completing", follows the JS code.…
-
0
votes1
answer94
viewsPick up HTML with jQuery when pressing button
I have a simple system that takes the HTML of a file and puts it in a index unique and dynamic. Example: <a onclick="carregar('cartaonatal/natal.html');" href="#">Agradecimento</a>…
-
0
votes2
answers351
viewsHow to remove the blue border of the tabpane?
I can’t get the blue border pattern that is shown in the event :focused. I’m trying to solve this problem by CSS, but I can’t. My CSS code: .tab-pane .tab-header-area .tab-header-background {…
-
0
votes1
answer571
viewsHow to use Base64 image in Angular 2?
I am consuming the service of a json through Angular 2. And within an ngFor with my let professor of professores, has a line where I consume this image of type Base64: <div class="foto-card"…
-
0
votes1
answer680
viewsHow to overwrite a div from another using jquery
When I click on the + in my select, my system shows and adds an item in the div with "tabs". only when it shows the div that was hidden, it was on top of my select (as shown in the image). function:…
-
0
votes0
answers43
viewsBrowser downloading files like mime instead of css
I am having problems with a small PHP MVC application that I am developing, I searched the internet and found that possibly mine .htaccess, is annexed hereto: RewriteEngine On RewriteCond…
-
0
votes1
answer110
viewsSelector Parent css
Is there any way to select using only css the images whose parent element is a <div class="img-parent" ></div>, that is to say, from a child element? <div class="img-parent" >…
-
0
votes3
answers71
viewsCentralization of IVD
How do I center these two bottom Ivs? #content{ position:relative; height: 80%; width: 85%; margin-top: 1%; } #uphist{ text-align: justify; padding-top: 2%; height:30%; width:80%; margin-left: auto;…
cssasked 8 years ago Mateus Cortes 61 -
0
votes0
answers106
viewsContact form
Good night. Guys, next. I’m just starting out in HTML5, so I don’t know much yet. I did the whole visual part (CSS) of a contact form (like course work), but I’m not very good with html itself, so…
-
0
votes1
answer966
viewsCapture Scroll by Scroll Bar
User fills in a form and clicks to register. The system opens a modal window with the "agree" button disabled. Only by scrolling the scroll bar to the end is the button enabled to register. By the…
-
0
votes2
answers45
viewsError in image gallery, return random button
Hello, I have a js that makes a list of images move forward and backward based on a variable, it advances perfectly, but to return it returns randomly. Can anyone help me solve? the code is below:…
-
0
votes1
answer878
viewsDiv with load overlap
Hi, I got this div and I made a code in jquery for when to trigger it through an event, it appears, but I want to style it in a way that the div overlays all the content of my page, with a black…
-
0
votes0
answers48
viewsAttack css in the parent element
I have this HTML structure: <table> <tr> <th>Firstname</th> <th><a>Lastname</a></th> <th>Age</th> </tr> <tr>…
-
0
votes3
answers624
viewsHow to add a scroll bar in Popup with css?
I have the Popup below that when I decrease the screen it does not create the scroll bar not being possible to see the full content. How can I create a scroll bar for when the browser is in a…
cssasked 7 years, 12 months ago Mauricio Ferraz 2,074 -
0
votes1
answer70
viewsChange the color of a button and keep it changed after the user leaves and returns
Is there any way to get a page to keep the color change of a button (or link) with a function like the CSS "a:visited", but this change should remain even after the user leaves the site and returns…
-
0
votes0
answers49
viewsCSS not reflected in browser
I started a project in xhtml Primefaces, only when I make changes to the CSS it doesn’t change in the browser, only in the IDE. Browser design: Project in Eclipse IDE:…
-
0
votes1
answer3650
viewsCSS - Centralize li
I have this navbar and would like to center item 2 ul.navigation { width: auto; height: 40px; position: relative; background-color: #fcfcfc; padding: 0; color: #b5121b; list-style-type: none;…
-
0
votes2
answers297
viewsHow to pause CSS animation while music is stopped?
I made an example: function play() { //Fazer animação } function pause() { //Para animação, ficar toda linha roxa; } #animacao { position: relative; margin: 30px; } #bloco { display: block; bottom:…
-
0
votes1
answer579
viewsDIV fixed + DIV automatic scrolling
I’m doing a little chat, and I’m having problems with the scroll bar. I want the scroll in the main, not in the iframe. Imagery: HTML: <div class="container-fluid"> <div class="row">…
-
0
votes2
answers750
views(bootstrap and php) How to create a row every 3 database records
Guys, I have a template that has the following: <div class="row"> <!-- INICIO --> <div class="col-md-4"> Aqui vem uma imagem e o nome de um imóvel </div> </div> <!--…
-
0
votes1
answer88
viewsID "conflict" within Datalist
Good afternoon to everyone. Well, I have a datalist. Then I put a Repeater in, so far so good. But then when I execute, only the first Remap appears stylized the way I want. The rest I think should…
-
0
votes2
answers102
viewsProblems with css email registration box
Hello, I have a little problem adding an email box on my blog, the ones that sign up for the user to receive email updates. I put the color of the white font but nn makes effect even adding "!…
-
0
votes0
answers49
viewsHow was CSS developed?
I’m trying to find out, but I’m on time researching and I couldn’t find any reference, someone would have an idea of how CSS was developed? Was developed with a specific language? What technology is…
-
0
votes2
answers2069
viewsCut image inside a CSS div
I need any image size to be centered inside the div: Example below: I have this css code to make the image circle: .anuncio_dialogo { background-color: #FFF; width: 128px; height:128px;…
-
0
votes2
answers5270
viewsHow to align paragraphs next to the image in HTML and CSS?
I have a test in .html and .css and wanted to align the text on the image side, how can I do that? I wanted to put it where the arrow shows. HTML code <!doctype html> <html> <head>…
-
0
votes1
answer68
viewsRemove a slide from a Swiper by class
I have the following Swiper: var swiperBanner = new Swiper('.swiper-container-banner', { slidesPerView: 1, speed: 1200, loop: true, grabCursor: true, freeMode: false, preventClicks: true, autoplay:…
-
0
votes2
answers155
viewsHow do I not get the site bugged when I lower the screen and have a problem with a button going up in CSS?
I’m doing a test and I wanted to know how not to make the screen bugle, just below has the normal page and it when the screen shrinks. And I have another problem, I wanted to give an effect of the…
-
0
votes1
answer37
viewsDoubt wordpress
I have a very basic question. I’m starting to use the Wordpress and would like to know what I need to do to configure the theme onepage. I download the template but when I install it it is in blog…
-
0
votes0
answers23
viewsWhy do some classes start with points and others don’t?
In CSS, when defining class H2, for example, it does not start with dot: H2 { color: red; } But other classes need the point: .text-red { color:red; } Why does this happen?…
-
0
votes1
answer48
viewsUse a different CSS in each view
I am developing a site using the MVC standard, I would like to know if it is possible to use a different CSS in each view. If so, how?
-
0
votes1
answer62
viewsThe Divs don’t fit when I open a Summary
.parallax2{ height: 16vw; margin-bottom: 0; background: transparent; background-color: red; } #submete{ height: 100%; padding-left: 19vw; padding-right: 19vw; background: url(imgs/tech.png);…
-
0
votes1
answer11
viewsSome items in Otate look different, how can I correct?
need help. Some items that I used the Transform method to give a 45 degress Rotate are a little different than the others, all of them in the same div. How can I fix it? Let me give you an example…
-
0
votes0
answers65
views<link rel="stylesheet" > affect only one section of html
Is there any way to make one affect only one section of html? For example I want to put an external link that will only affect one of the Divs with a specific id, how do I do this?
-
0
votes0
answers220
viewsCSS not loading right, but give F5 and load normally - Angular 5 with Material
Hello, I am creating a system with Angular 5 together with Material (CSS), but I have the following problem in my project: When soon in the system, CSS is loaded poorly (see image below). But when I…
-
0
votes0
answers63
viewsClasses and html attributes with random values?
I have noticed that some applications such as gmail, facebook and instagram are featuring classes and attributes such as random values or may be a standard used, preprocessor or manager. I was quite…
-
0
votes2
answers1993
viewsHow to align label next to input
I would like to know how to leave the label, for example "CNH" next to the input, as follows in the image the Labels are distorted!…
-
0
votes3
answers248
viewsHow do you make the edges of a div transparent?
I want to apply a color to div and on the sides of it it gets clearer until it’s transparent, you can do this with CSS?…
-
0
votes1
answer752
viewsSub-menu effect with jquery
I’m trying to build a menu system with sub-menu in jquery, but when I click on a menu, all sub-menus open, as I solve this? $(document).ready(function() { // Fecha Sidenav…
-
0
votes1
answer1273
viewsCSS - Overlay action
Friends I am not very good with CSS or HTML, but I can manage with some things. I am creating my site (https://girundi.com/) just that they need a help: As I created in cargocollective the template…
-
0
votes1
answer80
viewsCorrect application of the font-face
It is known that the sources of the type woff and woff2 are not supported by all browsers, I am using on my page and on the google console Chrome accuses problems to download the font type woff2, in…
-
0
votes2
answers146
viewsIs it possible to change the background color of an element for printing?
Is it possible to change the background of an element in the print style sheet? I have the following code: <td valign="top" bgcolor="#dddddd" class="cinza" nowrap="">Seu Nome<br> <div…
-
0
votes3
answers38537
viewsAlignment of buttons with css
Well I have here the personalities buttons with CSS. I need them to always stay in the center of the page, if I put several buttons they have to stand in a queue in the center of the page. And when…
cssasked 7 years, 11 months ago Hugo Borges 5,294 -
0
votes2
answers173
viewsLeaving CSS inside HTML pages disrupts SEO ?
I ended up making the site at once, and now it’s ready but it’s going to be very complex to link all the CSS’s. I wanted to know how to leave all css or almost all within HTML will disrupt my…
-
0
votes0
answers98
viewsHow to fix image resizing for lightbox?
I’m trying to do that lightbox work on my site, but the images do not resize to their original size, as can be seen below. What can I do about the problem? function openModal() {…
-
0
votes1
answer167
viewsA transition or effect
Would anyone have any idea of some transition or effect of some image arising from left to right in a sense of being passing in a straight line?
-
0
votes1
answer1054
viewsHow to make a scroll with arrows?
I am working on a project for application in touch screen monitor, and I need to do the schematic as the following image. It will be a list of items, inside a div for example, and it will have to be…
-
0
votes1
answer1329
views -
0
votes1
answer67
viewsQuestion: Example of uploading/PHP files
I would like to know if there are any examples on the internet, that when logging in/out of an admin account, you can send files to a particular account to download the file. For example: a pdf file…
-
0
votes1
answer107
viewsRemove link ID when referenced with href
I have a project of a template, in his footer has a button that leads to the top of the site, when pressing it leads to the top of the site but leaves the id "#top" in the link of the site…