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
votes1
answer11293
viewsHow to hide the iframe scrollbar?
Because this command is not working? I wanted the scroll bar to go away. I’ve used width: 0px; in place of display: none; but it didn’t work either. <!DOCTYPE html> <html lang="pt-br">…
-
0
votes1
answer20
viewsToggle class in Vuejs
I have 3 div with the class ('option') and I have a class as the name of ('Selected'). I would like to remove the class from the div that is already with ('Selected') and switch to the other with…
-
0
votes1
answer357
views -
0
votes1
answer57
views -
0
votes1
answer29
viewsHow to change the background color of the body in a VTEX IO template?
How can I change the background color of a VTEX IO template in which the structure is done in JSONC?
-
0
votes3
answers385
viewsCenter a circular div within another div
Good afternoon !! I’d like to make a circular div centered on a larger div, it’s focused on the left can help me?? .conteudo-externo{ width:200px; height:200px; z-index:3; background:#ff1;…
-
0
votes1
answer622
viewsJavascript Doubt - Center Image
I have a Function that puts images in the background of a circular div. I would like to center the image in the center of the circular div as in the following example: I thought I’d put a…
-
0
votes2
answers24
viewsHow to apply different effects at the same time?
Eae personal, beauty? I have two icons and each one of them has a different Transform effect, my doubt is: When I hover over icon1, there is some way to trigger the icon2 effect at the same time? my…
-
0
votes0
answers46
viewsHow to automatically click with javascript
I would like you to help me in creating a javascript function so that, when loading a page, a button is automatically clicked every X seconds. I tried to do this function but did not succeed and…
-
0
votes0
answers162
viewsAdd Font to Bundleconfig
I’m looking to put a source who is in a link, tried these two ways and none works, simply my page does not load the source. It follows codes: First form: var linkFont =…
-
0
votes1
answer24
viewsHow to not leave so much unused space on the screen (Scroll bar so large)
I’m having a hard time getting the background right, because there’s a big part left and I didn’t want it to have the scrollbar so big at the bottom. If I change the width and height of .…
-
0
votes1
answer656
viewsUse label instead of href
I have the following css * { margin: 0; padding: 0; } ul { display: block; list-style: none; border: rgb(0,0,0) 1px solid; } ul li { display: inline-block; width: 50px; height: 50px; text-align:…
-
0
votes1
answer187
viewsIs there any way to position the required message?
I have the following html <ul class="pagamento-metodos"> <li class="pagamento-metodo paypal"> <input name="payment_methods" type="radio" id="paypal" value="paypal" required>…
-
0
votes0
answers31
viewsHow could I change the background css of a menu’s parent?
I am using boostrap. I would like to change the "my-Parent" menu with CSS when it is in the "Collapse.in class": <nav class="col-xs-12 col-md-2 pull-left meu-parent"> <div…
-
0
votes1
answer912
viewsIncrease Font size Javascript/HTML/Jquery
i know I’ve asked a similar question, but can someone help me with this, I made an application in HTML/Javascript/Jquery ... and I need to change the source of EACH of the TEXTAREAS with a button,…
-
0
votes1
answer3669
viewsChange font color Javascript/HTML/Jquery
I am developing an application in HTML/Javascript/Jquery and would like to know how I change the color of TEXTAREA FONT by clicking the button... Someone has an idea? <html> <head>…
-
0
votes1
answer262
viewsHandling glyphicon Bootstrap
I am using Bootstrap version 3, and I would like suggestions as I could customize this Glyph, I tried several ways to align this to the text, but he insists on staying a little above the line of…
-
0
votes2
answers1526
viewsPlace item side by side with border round CSS
I am developing a web application ,and would like my icons i class="fa fa-user" and i class="fa fa-shopping-cart" stood side by side and wanted to be a circle around each one but I’m not getting.…
-
0
votes1
answer131
viewsTBODY content overwriting THEAD and TFOOT
I am having a problem generating a printable file using the table structure. I can put the header with thead and footer tfoot on all pages, but the contents of tbody superimposes the two. Follows…
-
0
votes1
answer554
viewsGet the href link on href itself
I have the code below <?php $paginaCorrente = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY); ?> <ul class="menu"> <li><a href="?l1" <?php if ($paginaCorrente=="l1") echo…
-
0
votes1
answer132
viewsIn my photo gallery, I can’t open the images with Ligthbox separately, how do I?
I’m creating a photo gallery to insert my work in my portfolio. I was able to create the lightbox effect with jquery, however I would like you to open each image separately when clicking and not all…
-
0
votes1
answer739
views -
0
votes2
answers3488
viewsHow to change the href of a link dynamically?
The code at the end of the statement is OK and works as expected. On the lines <a href='?f=on' onclick="alert('LiGHT ON')" class='btn1 btn-sea'>ON</a> <a href='?f=off'…
-
0
votes1
answer24
viewsMake several div’s Fixed
How to make so that when a div disappears all "stay in the place" in which they are. I leave below an example to be more enlightening. $(document).ready(function(){ $("button").click(function(){…
-
0
votes1
answer44
viewsStyle difference :firefox x Chrome
I have the following CSS ::-webkit-input-placeholder, :-moz-placeholder, ::-moz-placeholder, :-ms-input-placeholder { color: rgb(150,150,150); } ::-webkit-input-placeholder:hover,…
-
0
votes0
answers147
viewsChange select arrow when triggering event click
Good, I have the select below: <div class="selectOptions"> <select name="select" id="select"> <option value="1">1</option> <option value="2">2</option> <option…
-
0
votes0
answers57
viewsBug with CSS Transform Skew on iOS
.calendar__nav a.arrow_up { top: 0; } .calendar__nav a { border: 0; background: transparent; position: absolute; width: 32px; height: 32px; display: block; left: calc(50% - 16px); } .calendar *,…
-
0
votes2
answers1048
viewsHow to add delay to Display:block
I’m creating a website, and I wish there was a "button" with the Whatsapp icon on it, and by hovering the mouse over that button, it expanded and showed the number I put there. Currently the code is…
-
0
votes0
answers412
viewsOrganizing elements in the bootstrap panel header
Example <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"…
-
0
votes1
answer130
viewsProblem with last-Child
a problem I believe that simple for who is known in the area, my problem is this, I have a div "father" and inside this div I have 6 li and inside the div "father" has the div "box_padrao" and this…
-
0
votes3
answers158
viewsStylize overflow Hidden
I have a ul which has "n" lis arranged vertically. Initially, she is styling overflow hidden, only for a part of it, specifically from the second li to simulate a select option. However, when I…
-
0
votes2
answers220
viewsHide/Show in Ivs according to subclasses
I’m trying to make a code that shows and hides some Ivs in the click, I tried to use css to help me, but I couldn’t. By the logic at the bottom of the "topic" click it removes the display class from…
-
0
votes0
answers20
viewsCreating a slider that doesn’t change the entire image
Good guys, to be more specific, I’m looking for something like this: the arrows in red would be buttons, the black part with the letters would be when the mouse Hover (the title "eyes" and the…
-
0
votes3
answers41
viewsJquery does not run correctly
I’m creating a sidebar that will contain some accessibility options. The big one is, in parts the sidebar is working properly. 1º By clicking on the accessibility icon, the sidebar opens normally,…
-
0
votes0
answers50
viewsFooter does not permance below Body, and Hover buttons triggers without the cursor being on top
I’ve been having a problem for a few days, I tried to solve several ways, I’ve tried to change the "position" from "relative" to "Fixed" and "Absolute", before I didn’t have a "wrapper", in fact…
-
0
votes2
answers1359
viewsDropdown menu behind the page contents
Good afternoon! I got a dropdown menu (like "Hover") ready on the internet. But the submenu is appearing behind the page content and displays a scroll bar vertically. Someone’s been through the same…
-
0
votes2
answers1231
viewsCSS3 Transform Skew (one corner)
It is possible to customize to leave as this image? https://s3.envato.com/files/127249204/screenshots/screenshot%20(114). png I found a solution, but it is not useful for me, because it was not the…
-
0
votes0
answers72
viewsDoes position Absolute values work for Chrome and firefox?
Hello I’m with a problem, my element not respecting the positions in firefox equal respects in Chrome, for example, put position Absolute, with right: -160px, blz n ochrome reaches the position I…
cssasked 7 years, 1 month ago user27585 -
0
votes3
answers1111
viewsInvert Divs positions with responsive
.a-right { padding: 2%; float: right; width: 30%; margin: 0; } .a-center { padding: 2%; width: 50%; margin-left: 5%; } @media screen and (max-width: 600px){ ul.topnav li.right, ul.topnav li {float:…
-
0
votes2
answers891
viewsHow do I customize a Navbar only when it is "collapsed" with bootstrap 4?
I have the following code: <!-- Navigation Bar --> <nav class="navbar navbar-expand-md navbar-light navperson"> <!-- Brand --> <a class="navbar-brand" href="#"><img…
-
0
votes1
answer69
viewsWhy can’t I create the <div> in the right place?
@media (max-width: 1200px) { .navbar-light .navbar-toggler { font-size: 30px; display: inline !important; border: none; } #menu-exp { display: none; } .navbar-toggler { text-align: center; position:…
-
0
votes1
answer202
viewsI can’t handle the css from the Bootstrap Menu
I’m developing a web application and I put a bootstrap menu but I’m not able to touch his css, I wish he had this look. UPDATE But look at him go HTML <div class="body-wrap" > <div…
-
0
votes0
answers17
viewsProblem in tabs menu
The problem is this: The user clicks on the menu it opens normally, only when the user will interact with it, it closes but could only close if clicked on the menu referred to or out of it. <div…
-
0
votes0
answers30
views<article> does not appear after CSS
I created a graphic in CSS that works well, but when trying to position it on the page with CSS it goes away. This is the CSS: <?php header("Content-type: text/css"); /*Aqui começa o Gráfico */…
cssasked 7 years, 1 month ago Webster Moitinho 511 -
0
votes1
answer134
viewsSort widgets on screen with CSS
I’m replicating some buttons with the "ng-repeat" with angular, but I’m having trouble sorting these buttons in the way I want. I want 4 buttons shown on the lower left and 4 buttons on the lower…
-
0
votes3
answers2592
viewsSwitch when hovering the CSS mouse
I wanted that when you hover the mouse over the links they have a green background and the white word, but only a green part is left and not the whole background. How do I change my CSS to this,…
-
0
votes1
answer558
viewsLine breaks in table cells ASP.NET MVC C#
How to do not break in multiple rows the columns of a <table>, because I put a scroll and would like to leave the grid cells without breaking, and rather let the user use the scroll. View…
-
0
votes1
answer1464
viewsChange opacity gradually with scroll
I want to apply opacity at the bottom of my site, the footer is fixed on bottom and behind the rest of the site type effect Parallax. But I can not make it gradually become opaque, so scroll the…
-
0
votes1
answer957
viewsChange bootstrap menu according to page width
I am developing a web application and put in my application the bootstrap menu would like when the application reaches the maximum width of max-width: 770px the menu is the same as the menu that is…
-
0
votes1
answer72
viewsCSS3 Modal window does not work
I’m trying to create several help links in modal windows, and the tests work well, but when combined with other elements of the page does not appear. Below the example of the tests <style>…
cssasked 7 years, 1 month ago Webster Moitinho 511