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
-
-2
votes1
answer118
viewsHTML and CSS layout. How do I make it responsive?
I wanted to see a way to make the code below as if it were two columns, that if it were opened on a cell phone at 1° column and 2° were under each other. <!DOCTYPE html> <html>…
-
-2
votes1
answer34
viewsSass::Syntaxerror - Properties are only allowed Within Rules, Directives, mixin includes, or other properties
When trying to access the site, this error appears: Properties are only allowed Within Rules, Directives, mixin includes, or other properties. https://pastebin.com/LqMyVEM5 (Sass file code) My…
-
-2
votes1
answer35
viewsI made a calendar and the dates are wrong
I am a beginner and I am learning in Mallorca, I am a week breaking my head to solve this problem. Some calendar months are right others with more days others with less. Someone with more experience…
-
-2
votes1
answer40
viewsMake suggestions list float
I’m creating a project and I want to put a input to search users and tals... I’ve already half finished, but the list of suggestions is not "floating", as does the datalist, if someone can shed some…
-
-2
votes1
answer26
viewsPick element by css selector
I have a div where I want to take it by function document.querySelector but I can’t The div: <div class=" f:.9 m-b:.4 m-t:.5 d:i-b ">Conteúdo</div> I tried to make…
-
-2
votes1
answer127
viewsAlways define standard Rule '@keyframes' when Defining keyframes
I have a css with the following animation: @-webkit-keyframes bounce { 0%, 20%, 60%, 100% { -ms-transform: translateY(0); } 0%, 20%, 60%, 100% { -o-transform: translateY(0); } 0%, 20%, 60%, 100% {…
-
-2
votes1
answer96
viewsIn Mobile mode, Body does not fill 100% of the screen
Good morning, I am breaking my head for days in a business card project that I will deliver along with an ERP, when opened on the desktop is great 100%, but when in Mobile is a white bar (I’ve seen…
-
-2
votes2
answers28
viewsHow to resize this CSS property?
#msg{ margin:15px; height:auto; width: 200px; padding: 1px; color: #1b196df2; box-shadow: 5px 5px 10px black; }…
-
-2
votes1
answer105
viewsPlace captions under social media icons
Good morning gentlemen, I ask for help to some God of Css, I need to do in pure css, put these captions aligned the balls of social icons, they are already aligned and already appear, but I can’t…
-
-2
votes1
answer162
viewsHow to style an option selector
Good afternoon, you guys, I’m looking for a way to style a select but I’m not getting it, and I’m also not getting material on the internet to do it, if you can help me thank you. And the next one I…
-
-2
votes1
answer45
viewsWhy is display: block; on the links? tag "a", to make the navigation bar?
ul li a{ display: block; } Why do you need to put the links with display block when making the menus?
-
-2
votes1
answer71
viewsCSS: How to make the transition animation work only when the mouse passes over the element
When you place Transition on an object, every time you refresh the page, that animation/transition takes place. Is it possible to leave it exclusively for the action you want? For example :Hover? I…
-
-2
votes1
answer25
viewsopa I would like to strip the blue subliming of the links
.home ul { width: 100px; height: 30px; background-color:#d3d3d2; margin-top: -75px; margin-left: 1400px; color: white; font-size: 18px; font-family:Bahnschrift Condense; padding: 12px; text-align:…
-
-2
votes1
answer52
viewsHow do you make a slider menu in java?
As if it makes a menu in this style here, that by clicking it hides one content, and shows another? Some example of how to do more or less? Something like this side menu of this site for example…
-
-2
votes2
answers25
viewsHow to hide something with jquery and css
I need to hide some things using jquery along with css , I tried using Hide() but it didn’t work... some solution?? my code: $(document).ready(function(){ $('#ID_USER')hide();//não funcionou... });…
-
-2
votes2
answers40
viewsText accompany the movement of the div
Guys how can I make a div push the others to the side when the size of it increases my code is this <div>preço do produto</div> <div>outro texto</div> <div>outro…
cssasked 3 years, 9 months ago Davidson Dvs 13 -
-2
votes1
answer49
viewsCustom scroll bar
I need help adjusting a scrollbar that I customized, it works perfectly on Chrome, opera and Mozilla, but in ie and safari does not work, follow prints and codes. #aulas-do-curso::-webkit-scrollbar…
-
-2
votes1
answer31
viewsFooter to position himself when he has a lot of content and when he has a little
Hello, my footer ta with a small problem, when I have a lot of content on the site, it is well positioned at the bottom of the page, already when it has little content, it gets centered, wanted a…
-
-2
votes1
answer26
viewsinclude the css on other pages
I’m trying to put the CSS within a subfolder with the include, but I can’t. I’ve used ../, .../, all kinds possible, but I can’t. the structure of my project is like this: css[folder]/css.css…
-
-2
votes2
answers57
viewsHow can I change the style of an html tag using another html tag in css?
So people I am making a menu and wanted to discard the use of javascript with this I would like to make that when I pressed the mouse on the menu icon automatically my #content element would win a…
-
-2
votes1
answer33
viewsMenu with upper margin
So I’m creating a page and I want to put a menu, but before it is creating a top margin. How do I take it? <div class="barra"> <p>asdaosdhs</p> </div> .barra{…
-
-2
votes1
answer59
viewsDeck cards with css only
Good morning I was trying to make a deck of cards all grouped together and when you do Hover with the mouse the card stands up 50px and up and forward z-index to come forward. My problem is that…
-
-2
votes0
answers19
viewsHow do I leave a 1:1 image in React Native?
I have an image that I would like its width to be 100% the width of the screen and the height to be the same size as with (that is to say 100% the width of the screen), someone could help me with…
-
-2
votes0
answers19
viewsHow to change the print page size?
I’m printing on a thermal printer and it’s coming out all right, but there’s a blank space, I think it’s the size of the page. Is it possible to set the page size even if the printer is set to a…
-
-2
votes0
answers18
viewsI need some help with html code
Dígito Letra 0 A 1 B 2 C 3 D 4 E 5 F 6 G 7 H 8 eu 9 J Assim, uma placa tradicional ABC-1234, sem formato do Mercosul padrão, ficaria ABC-1C34. Peça para o usuário informar um dígito válido entre 0 a…
-
-2
votes0
answers10
viewsWhy is my project on githubpages behaving differently than it is on my machine?
https://markoscomk.github.io/Formulario/pagina3/pagina3.html This is the project on github pages. What is on my machine behaves perfectly when I resize the screen, but when it went to the pages the…
-
-2
votes1
answer37
viewsHelp with an HTML and CSS project
I wanted to know how to put my items centered on the header they just stay down and wanted to put google maps next to my form. I’m a beginner and I’m trying to do this project, but I’ve tried to put…
-
-2
votes1
answer271
viewsTake value from a cell in jquery
This button has an ONCLICK event that calls a function. Theoretically, it is already in a line, it would only need the VALUE of a cell. Obs: Addresses is the ID of tbody and the TEST is the CELULA…
-
-2
votes2
answers268
viewsz-index does not change!
I have the website: Gás Muriaé, and a z-index error (probably) that I can’t get out. So the banner is superimposing the side order bar. Locally, I already changed the z-index in the plugin’s css to…
-
-2
votes1
answer1237
viewshow I style H1 with an image
I have the following problem, I have a h1 and I need to put an image in it, then the original image of 833 x 56, well I put right through the h1 with the following code <img…
-
-2
votes2
answers92
viewsI can’t change the color of a div, I think I did something wrong that is preventing it (the div I speak is the .div_barra_search)
<html> <head> <meta charset="utf8"> <title>google</title> <style> .div1{ padding-top: 8px; text-align: right; } .textos-top{ text-decoration: none; font-family:…
-
-2
votes3
answers1419
viewsChange color of tabs by selecting tabs
Friends, I have these tabs, I’ve tried some css codes to leave a background color in tabs, but when I use the codes it changes the entire background, I want to change only the color of the tab that…
-
-2
votes1
answer55
viewsH3 inside table email marketing
Talk guys, I need to apply an H3 inside a table, on a td but at its bottom position. Because I have an image and I need to play a title for the image. I tried with the position application but it…
-
-2
votes1
answer255
viewsCreate custom interactive HTML banner Hover overlay style
Hello, I would like to create a banner in the style Overlay Hover similar to the one found on this site: http://www.gruporedservicos.com.br/ Basically, when you move the mouse over the image, the…
-
-2
votes1
answer204
viewsCSS does not load on mobile version when installing free SSL certificate
I installed an SSL certificate https://zerossl.com/ on a website. The certificate is working normal. The problem is that in the mobile version of the site the CSS is not loaded, on the other hand,…
-
-2
votes2
answers118
viewsLeave left and right side with height 100% independent of the content size
.box { display: flex; height: 200px; max-height: 50%; margin: 10%; background-color: aqua; overflow:…
-
-2
votes1
answer457
viewsImage formatting in CSS figure.class
(Solved) Looks like the file . css was corrupted, I created a new one and rewrote the same code on it, after which the code started working normally. I have a problem to put the attributes in an…
-
-2
votes2
answers457
viewsHow to take out the white space in this html
]1 I tried to put height:100% but nothing changed <html> <head> <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/frontend/ficha_emergencia.css') }}" />…
-
-2
votes3
answers54
viewsWebsite with centralized content but out of conjunction with the background
I have my website ready, however, I wanted to change something that has been bothering me for a long time. I am having some difficulty to leave the site divided in two layers, I will try to…
-
-2
votes1
answer136
views<hr> at the end of the text
Very good afternoon, I’m developing a website, and the customer wants something like it’s in the image below but I’m only getting to put it that way : <p>We Offer Clients<br>…
-
-2
votes1
answer66
viewsHow to insert an image via CSS?
Follow my HTML code: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="UTF-8"/> <title>web page</title> <link rel="stylesheet" type='text/css'…
-
-2
votes1
answer35
viewsHow do I make a URL open when the person presses a certain key?
<html lang="pt-br"> <head> <meta charset="UTF-8"> <link rel="icon" a href="https://is.gd/DhDDsG"> <script> var titulo = "- teste -" var titulo…
-
-2
votes1
answer220
viewsReplace php include for javascript
I am making a website that I am required to use HTML, CSS and Javascript at most. It’s just that many things I need Php I can’t use. So I’ve been searching for a synonym of include() and found the…
-
-2
votes2
answers94
viewsButton to add numeric value, write to Postgresql database and display on screen with PHP
Next, I am working on a design of a system that has as one of the parameters "series".. I need from the "Save" button it takes the value of the series, save it in postgresql and show the next number…
-
-2
votes1
answer84
viewsCSS for Google Pixel 3 XL resolution
What would be the media querie for the resolution of the new mobile: Google Pixel 3 XL ? At this link i have the media queries for version 2: @media only screen and (-webkit-min-device-pixel-ratio:…
-
-2
votes1
answer35
views -
-2
votes1
answer93
viewsHow to add logo to a boostrap login box?
Good evening! How do I add a logo to a login box? I’m trying to add to my site, but I’m not getting it. Page in question: http://tratspay.com/app/login.html enter the code here <div…
-
-2
votes1
answer1126
viewsI cannot place the image next to the title using tag link
<title>Biografia - João da Silva</title> <meta charset="utf-8"> <link rel="icon" href="favicon.png"> <h1>Sobre mim</h1> <p>Moro em São Paulo mas atendo…
-
-2
votes2
answers78
viewsLINE-HEIGHT is not working on my table
* { font-family: arial; } body { padding: 0; margin: 0; } .escopo { width: 100%; height: 200px; background-color: yellow; } .margem_escopo { width: 1000px; height: 200px; margin: auto; } .tabela {…
-
-2
votes2
answers898
viewsHow to leave a space between the menu and the top of a page?
I would like to leave a small space between the navigation bar and the menu (approximately 20pxs) without affecting the background image positioning. HTML <!DOCTYPE html> <html>…