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
answers1447
viewsHow to give space between the value and margin of an input field?
I own a field input of the kind text, but when typing something in this field, value is leaned against the edge of the input, such as changing the position of the input to get an edge?…
-
1
votes1
answer191
viewsValidation of Javascript Payment
Good afternoon! I am developing an online payment page for a travel agency project and would like to put a validation to see if the person has put the right information. But I did javascript and the…
-
1
votes0
answers987
viewsCss How to Leave the Right Side of the Slanted Div?
I have a demand in which I need to leave only one right side of an inclined div, that is, diagonally. How do I achieve this effect? While researching, I saw that I could use the code below to tilt…
-
1
votes1
answer32
viewsSplit a button to change the background of part of it
I would like to do the same on this button in the chaos, split to use the 4 with the gray background and the rest in the common white, Obs. I’m using the Bootstrap 4 button.…
-
1
votes1
answer34
viewsDoubt Css - Unify Divs
Hello everybody Good afternoon! Look at the image below, is there any css property where I can remove the dividing line of the 2 Divs so the content stays the same? or the best option would be to…
-
1
votes1
answer70
viewsChange text position in text area
I’m making a contact form, in which I have a texarea that is where the message will be entered, but I want the word "message" to appear on top as the image shows, someone who can help me around? and…
-
1
votes0
answers102
viewsI read across the line
I placed 5 li with an image for each link a within the Li. After that, I put one :hover in Li so that the image changed when passing the mouse over, but it turns out that the width this 100%, and I…
-
1
votes1
answer122
views -
1
votes1
answer333
viewscss variables with values coming from the database
I’m developing a website where I saw myself in need to bring the style(colors) of the database elements. This would be a piece of cake if it were a page because (by relaxo) could write the css in…
-
1
votes1
answer52
viewsCopy hidden text equal to Whatsapp
Hello, a situation that I need to do and could not use normal methods like "display: None, user-select: all" etc, is to copy hidden texts or hidden tags. If you open the web Whatsapp, you will see…
-
1
votes0
answers670
viewsFinding Error in My Css by NETBEANS
My code is presenting the following problem in css (IMAGE ERROR MESSAGE) error code does not interfere and I can run my site normally even with css error. @supports ((-webkit-transform:…
-
1
votes1
answer7151
viewsChange input text type=file with filename
I am doing a project in Asp.net MVC 5, and I need the text of my input type 'file' to change to the name of the file when loading it. I hid the input to be triggered by clicking on label in CSS as…
-
1
votes1
answer2372
viewsBootstrap 4 Multilevel Dropdown
What’s the easiest way to put a multi-level dropdown on my navbar made with Bootstrap 4? I tried some methods on the Internet, but everyone uses ul, my navbar already uses div's. Example:…
-
1
votes1
answer524
viewsHow to hide and display a form using a link
I’m with a link and a form that need to work as follows: When I click on the link, the form is visible and with one more click on the link the form is hidden. To classe the link to hide and display…
-
1
votes2
answers356
viewsResponsive Dropdown Menu
I created a responsive menu, I would like to add an action to my button, when it was clicked my menu would appear, the menu is already created, but I still can’t get it to appear with just the…
-
1
votes1
answer275
viewsBootstrap menu Collapse above the text
I’m creating a website that, when accessed by mobile, your horizontal menu is compressed (Collapse), as shown in the image below: However, after I click on the menu symbol, the options appear above…
javascript html css twitter-bootstrap bootstrap-4asked 5 years, 2 months ago Pedro Schimmelpfeng 11 -
1
votes0
answers122
viewsHow to style a table with first column horizontally and header fixed vertically
I’ve had a problem for two days, and I can’t fix it. I need to create a table where the first column is fixed horizontally, but allows moving vertically, and the header is fixed vertically but…
-
1
votes1
answer2201
viewsRemove edge that appears in browser Chrome and Firefox
How to remove edge that appears in browser Chrome and Firefox. Already in browser Edge does not appear. .fa-admin { font-size: 23px !important; line-height: .75em; vertical-align: -15%; position:…
-
1
votes1
answer492
viewsActivating sound in video background html page
I have a question, it seems simple, and I believe it is: I have a video that I use as background, and it has the attribute "mute" to run in the browsers, but I want to provide a button for the user…
-
1
votes0
answers29
viewsHow to add Font Awesome to the project in 2019
I used to give you the CSS link to integrate into the project by clicking "Star for Free".
-
1
votes0
answers89
viewsas it is possible after the user is dropped from the system by inactivity, the same return to the same screen that was after login
As I am new and I am learning mvc, I would like to know, as it is possible after the user is dropped from the system by inactivity, the same go back to the same screen that was. I know the code…
-
1
votes2
answers1939
viewsSeveral tables side by side
Good night! I am learning html + css, and would like to make my 3 tables, stand side by side on the horizontal even if it exceeds the right screen limit(enable scroll bar) It is possible to do?…
-
1
votes0
answers152
viewsVisual Studio does not recognize CSS
I got a Bootstrap template ready, but Visual Studio 2019 is not recognizing some properties. And it’s not rendering the application.…
-
1
votes1
answer160
viewsHow to control the size of cells in an HTML table?
I’m trying to control the size of a cell in my HTML table using CSS properties height and width, but it’s not working. I’m doing it this way: #CelL7C1, #CelL3C1, #CelL3C3, #CelL7C3{ height: 5px;…
-
1
votes1
answer131
viewsHow not to affect next elements of the same tag
I have a horizontal menu with several elements <li>. But as the mouse on the last item, namely on the last item <li> - "Services", opens another list of items that also contains elements…
-
1
votes1
answer31
viewsOverwrite arrow to return to top on videos, images, etc
I’m not getting over the arrow to get back to the top that is fixed on my page. Always when it goes through images, videos and some applications that use Javascript it disappears. I would like to…
-
1
votes1
answer2503
viewsImporting css into React JS
Good morning, I am new to React and I am trying to import a css file into my Cabecalho component, however I am not able to do this with normal import, I would like to know how to do this because it…
-
1
votes3
answers1895
viewsProgress bar with css
Well I’m trying to build a progress bar with css, and the progress value is 13.20% The problem is that this getting a degrade effect, and I want it to change from one color to another. .notification…
-
1
votes3
answers1154
viewsHow to scale aside and div center according to screen height
I’m trying to scale the side menu and the content div between the header and the footer so that it occupies the entire screen, even if I don’t have much content. if you have a lot of content, you…
-
1
votes1
answer51
viewserror with bootstrap
I’m having an error with the bootstrap, the Carousel is working fine but the image that should take all the spacing of the box is minimized and the Hover is not centering on the image, without the…
-
1
votes0
answers35
viewsTreat Customerror ASP.NET
Good morning, I was having an error publishing the Runtime error site, I created a blank ASPX page and added the tag to the web.config <customErrors mode="On"…
-
1
votes4
answers2454
viewsHow to change the button color of the bootstrap navbar?
I managed to leave the blue bar but the button always turns green regardless of color I’m using this code: <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8">…
cssasked 4 years, 11 months ago Cleiton Do Carmo 11 -
1
votes2
answers50
viewsHTML and CSS contact selection
Hello, I was recently looking at a site and I found very interesting a selection/filter system in the contacts tab (https://www.evoluaja.com/contato/) When you open the contact page, you are asked…
-
1
votes1
answer25
viewsChange class when changing view
I’m using bootstrap and angular I have a Nav: <ul class="nav nav-tabs nav-justified" ng-model="activeVar" style="margin-top:50px;"> <li role="presentation"><a value="overview"…
-
1
votes2
answers90
viewsHow to change div 3 inline images to only 2 inline images for tablet mode
Good afternoon, I’m a beginner in Html, CSS and Javascript and this is my first project. My group and I are doing a website on theme parks. Almost at the bottom of the page, I have 3 images in each…
-
1
votes0
answers47
viewsHow to use different images in the background-image, according to screen size?
I’m optimizing a site and wanted to know if I have how to use different background-image according to screen size. For example, screens larger than 640px use the image /referent123/original.jpg and…
-
1
votes2
answers1013
viewsAdd Favicon to my website
If I’m accessing a website, both desktop and mobile, there’s the option to add the link to the home screen, and some websites add the link with a custom icon. Ex: Stack Now my site for example has…
-
1
votes1
answer22
viewsResponsive e-mail
We bought a responsive email template, it got 100% responsive, but in email apps like gmail’s footer goes missing, a click of "see the whole message" By breaking the scroll and opening the desktop…
-
1
votes0
answers109
views -
1
votes1
answer428
viewsWhat is the best method to load JS files?
I try to work with the code in the way that gives me the greatest possible use of what was written, with this, for every feature that I will need to do in javascript/jQuery I control the individual…
-
1
votes1
answer207
viewsNavbar bootstrap hides items but does not show when clicked
The grouping works when I lower the window, it puts all the items in the hidden menu and shows the button with three "-", but when I click the button it does not show the menus that were hidden, it…
-
1
votes1
answer61
viewsHow to organize the Theme Directory
I have a question about how to split the files CSS and Javascript in my project directory ASP.NET I got the theme METRONIC, the theme directory has a folder where all the files are css and js call…
-
1
votes1
answer139
viewsWhat is the difference between the pseudo class :root and the * {} in CSS?
Do the two have the same function? Both generally define certain procedures. When I should use one or the other?
-
1
votes1
answer46
viewsHow to center an H3 with background-color?
How can I leave this H3 centralized with the background-color? I tried everything, I looked on the internet but I couldn’t find a solution <style> h3 { background-color:#98FB98; margin-top:…
-
1
votes1
answer243
viewsFailed to customize javafx tab, top panel border does not appear
I would like the Tabpanel area that has no tab to have a border according to the image below. Currently my Tabpanel is like this, no right edge of "Enter" I would like it to be like this, but I do…
-
1
votes3
answers1036
viewsHow to avoid repeating html and css commands?
How do I not repeat the HTML and CSS code of a site’s structure? For example, I did the structure of a web page and I want that structure to be applied to the other 5 pages that I will create for…
-
1
votes1
answer913
viewsFilter Select elements with PHP
I have to create a filter in select to perform a search between multiple select results <div class="grupo"> <!-- class="borda select2_single form-control comboauto" --> <select…
-
1
votes2
answers127
viewsHow to remove only the horizontal scrollbar from the page?
I am creating an application in Electron and need to remove from the page a scrollbar horizontal. I tried using the CSS code below, but it also removes the scrollbar vertical. ::-webkit-scrollbar {…
-
1
votes0
answers22
viewsHow to divide a page into tabs
I’m making a site that I’ve hosted but after that , I saw that it’s very slow because it has many images to load at once, so I thought I could divide it into tabs to get to 10 elements and buttons…
-
1
votes2
answers53
viewsjs function to hide and show independent Ivs
I’m putting together a quiz where each click takes the user to a part of the quiz. Everything is loaded on the same page so it doesn’t jump between pages. Each slide is contained in its own div and…