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
votes1
answer86
viewsChange Lightbox cursor position
I’m using a plugin to make the lightbox effect (Follow the link below this text), and I need to make some changes in the look, as the cursors and their positions. I changed the close from it to the…
-
1
votes1
answer577
viewsClose tooltip in Full Calendar
I’m trying to close my tooltip on jQuery calendar: Example Clicking on the event will show the tooltip and a " x " in the upper corner, when clicking on it the tooltip must be closed, the JS code on…
-
1
votes2
answers414
viewssquare div with 45º angle
The question is complicated and I believe the answer will be as well. I do not know how to explain very well what I would like to do (and I don’t even know if there is a way), exactly why I put…
-
1
votes2
answers1115
viewsCount visible and active inputs in my form
Well, I know that the Jquery Validation does something similar, because it only blocks a required field, if it is active, see example(In this case, if Voce accepts the "Please agree to our policy"…
-
1
votes2
answers147
viewsHow to apply responsiveness to texts?
Guys I’m doing the front end of a responsive site, I read some materials on how to build responsive sites etc, I’m using 'EMS' instead of pixels in the font sizes, but they do not change according…
-
1
votes1
answer125
viewsResponsive fixed menu
I have a fixed menu that when viewed in the maximized browser everything happens perfectly however, when the screen decreases, the menu is fixed and the scroll bar does not scroll it, it is possible…
-
1
votes1
answer416
viewsService bar at the bottom of the page
How can I create or customize a bar like of this website that is in the footer with several service options: This light blue bar with the service options in the footer.…
-
1
votes2
answers137
viewsFaded transition between sprites
I have a button that’s like this: And when I pass the mouse, I want it to stay that way: Okay, for example, I can use: .unidades:hover{background-position: center -49px;} The problem is that then I…
cssasked 10 years, 1 month ago Felipe Viero Goulart 3,693 -
1
votes1
answer92
viewsDisplay when applying Hover via CSS
I want, that when I hover over the li, to div companyMenusEsqhover stay as display:block. I can do this in Jquery, but I want to do as much as I can via CSS. I have the HTML: <ul> <li>…
cssasked 10 years, 2 months ago Felipe Viero Goulart 3,693 -
1
votes2
answers246
viewsFix problem with float in Google Chrome
I’m having a huge headache with Google. It seems to be a bug of this version of Chrome, but when I insert float:right, display:inline-block or any way to leave two parallel elements next to each…
-
1
votes4
answers12028
views -
1
votes1
answer61
viewsProblem with Slider
When you load the page of that website the title of the description of the slider appears at the top and then descends. How to solve? The site is in Wordpress. Plugin Huge IT Slider I think maybe…
-
1
votes1
answer83
viewsHow do I embed text and return from the last to the first slideshow image?
I have 9 images and they are to be shown in a slide, button mousein, mouseout, Loading, Z-index. So far so good, the CSS is right. Us slideshows I haven’t been able to place my texts to accompany…
-
1
votes2
answers2003
viewsShoot event to change slider image by clicking the arrow keys on the keyboard
I am using a slider jQuery, but I would like to improve it in the question Accessibility. I’d like the arrow keys on the left ← and right →, navigate my slider similarly to click the navigation…
-
1
votes1
answer93
viewsError in Divs positioning
I have one page, which has three divs. The first contains a manageable banner the second has a background image and the third is a chapada color. How the image below shows: My question is: the…
-
1
votes2
answers755
viewsHow to throw a block on top of the other block?
I’d like to create a div, containing a block of text and an image, and the image needs to cover the text, while passing the mouse on the image, the image will make it semi transparent, thus showing…
-
1
votes1
answer635
viewsBackground only in one part of the element
I have an element, which occupies 100% of the page, but it has a background up to a part of the element, I even know how to do, only I need it to adapt to 1024px screens and I would like to know…
-
1
votes1
answer67
viewsChange div background on visited
I’m trying to alter the bottom of the div, when the person is visiting that link. I tried to use the visited but it’s not working. HTML <div class="e divFloatLeaft"> <h:link…
-
1
votes1
answer94
viewsFloat:left and float:right in smaller resolutions
I have component 1 in float:left and component 2 in float:rigth, , but the problem occurs when in lower resolution component 2 is below component 1 facing the right side and component 1 facing the…
cssasked 9 years, 12 months ago valdir silva 89 -
1
votes2
answers88
viewsHow do I use @media to block padding-top in smaller resolutions?
How do I block 'padding' from that function <div style=" width: 300px; float:left; padding-top:68px" > no @media ? The goal is to block 'padding' in smaller resolutions.…
cssasked 9 years, 12 months ago valdir silva 89 -
1
votes1
answer544
viewsMenu does not open horizontally in IE
I always use Chorme to test my application in Asp.net mvc. After finishing, I tested in IE and saw that the menu was opening vertically. I found that it was a problem of updating the IE, because in…
-
1
votes1
answer2525
viewsStylization of HR
I have a line on a layout I’m doing, and I didn’t want to create a div just for her. I would like to continue the hierarchy I created. So I decided to use the <hr /> Example: .empresa hr {…
cssasked 9 years, 11 months ago Felipe Viero Goulart 3,693 -
1
votes1
answer67
viewsJquery problem when adjusting browser window
![insert the image description here][1]I am developing a website and I have a problem adjusting the window. The problem is in the site menu (Nav), when I’m adjusting the window to smaller it reaches…
-
1
votes1
answer92
viewsCenter element on a page
I have a page and login to develop and there’s a logo right in the center of the page. Okay, I centered it this way: bg{ background-image: url("../imagens/bg.jpg"); background-repeat: no-repeat;…
cssasked 10 years ago Felipe Viero Goulart 3,693 -
1
votes1
answer685
viewsInline-block element drops when filled
I have 3 elements inline-block. Are 3 squares aligned, summarizing. So when I put one div "daughter" in one of them, he falls and the other empties stay in position. It happens the same with all.…
-
1
votes1
answer439
viewsSize of the CSS cursor
it is possible to increase the size (width and height) from the CSS, for example circle { cursor:crosshair; height: 200px; }
-
1
votes1
answer1073
viewsLock Media Screen CSS
Good afternoon, I would like to know some way to block the user from adjusting the resolution in the mobile version of the site (by sliding two fingers). As in this example: http://gruponzn.com/…
-
1
votes1
answer1103
viewsVideo startar with autoplay, but with volume in 50% or mute!
My video tag shows my video/audio controls perfectly. Everything works. But I need to set the audio between 30% and 50% or even mute. You can do this with CSS and/or JS? <video width="960"…
-
1
votes1
answer11031
viewsHow to check without inside a #id has a . class?
Has a top #header that adds the class .hide-bar when scroll but when returning to the top, this class. How to check with jQuery if you are class is present in this id or not? I need this check to…
-
1
votes2
answers3463
viewsAttach elements to the footer of the div
I made some boxes using lists < ul> and < li> and would like to put a title and a "subtitle" in the footnote, which is the best way to do this? It’s like this: Ending: The HTML code…
-
1
votes1
answer74
viewsSelect by clicking on all IE’s
I am having a problem, that in all versions of Internet Explorer, when clicking on a select, it automatically closes when moving the cursor, without the possibility of choosing one of the OPTIONS:…
cssasked 10 years ago helderburato 1,019 -
1
votes2
answers1399
viewsHow to load background fade in css?
Well, I have an html page with a background image, only when the page clicks, it appears in a weird way. Is there any way she could gently press the page? I am using a code that changes the image…
-
1
votes2
answers311
viewsHow to place an item in a breadcrumb menu with a different color without the Hover
I have a menu of this kind, but I don’t want to use the state of hover. It will serve only for page information, no need to click. However, I’m not getting a different color on one of the menus…
-
1
votes1
answer84
viewspseudo-classes in CSS
I’m creating a module that will show information. this information should be displayed as expandable div’s, which I created using only CSS as is here: .news .itens { overflow: auto; margin-right:…
-
1
votes1
answer939
viewsCSS menu marked after submenu
I need to keep the selected menu item marked after the user goes to the submenu. For example, in my menu, there are items with up to 3 submenus. When the user hovers over the item, it opens the…
-
1
votes1
answer85
viewsHow to remove sidebar with CSS or otherwise?
I’m applying an example of a book I’m reading. only that of formatting with CSS the page displays beyond the natural scrollbar one within the class div that I created. Here’s a screenshot of what…
-
1
votes0
answers62
viewsHow to Insert a Slider to My Website
I am developing a website and would like to add a simple but elegant slider. Is there any plugin, preferably jQuery, that allows me to create a slider like the of this website?…
-
1
votes0
answers133
viewsWhy does the pseudo-element '::first-Letter' not work correctly in this example?
When using it, a space appears at the bottom of the page, causing the footer to go up a bit. This does not happen when using 'first-line', for example. It’s only with 'first-Letter'. Would someone…
-
1
votes1
answer53
viewsFirst-Hild and Hover operation
I have a TOP and I would like that on the first li, in the case of the soon, don’t have the edge, when I pass the mouse on top. Already in others yes. I tried with the following CSS and could not.…
cssasked 9 years, 11 months ago Felipe Viero Goulart 3,693 -
1
votes3
answers31765
viewsHow do I place a background in a container in Bootstrap?
I’m trying to put a Background in a Container someone knows how to put or some other solution? I did not put in Body because the image needs to be Responsive.
-
1
votes2
answers1216
viewsMake div daughter have same size as fixed parent
I’m putting together a responsive layout... My "menucontainer" is fixed... So the width of it does not match the size of the site interface... For this reason when the zoom increases it becomes and…
-
1
votes2
answers2788
viewsHow to make elements fit the text size?
I am developing a site where all pages have one with a title that varies in size, and in this same title has two lines, one on each side of the text that has to adjust to the right size. I know it…
-
1
votes1
answer80
viewsApply style to first line after n
I have a textarea that had received a text. The style application will be minimal, so I didn’t want to use some editor like Ckeditor, for example. I believe the easiest way to work is to apply a…
-
1
votes1
answer362
viewschange word properties in php search
personal speech, is the following I have a search script with php, I would like when it displays the result the properties of the searched word are changed(background, size, etc), for example I…
-
1
votes1
answer191
viewsDiv stop on top of another div
I’m in trouble, I’d like a div with "position: fixed;" when you get to the footer one div on top of the other and not one on the other. For example, the header of this site:…
-
1
votes1
answer928
viewsInformative input, how to do?
Good afternoon, you guys! I am making an informative form with the Bootstrap Framework, where in some fields should appear an informative balloon on top of the field (type a dialogue balloon),…
-
1
votes1
answer322
viewsAffix(Bootstrap) in div with images does not work
I’m trying to fix a div containing two images (one below the other) but following examples and making some modifications the result was very different from expected, when I go scrolling on the page…
-
1
votes3
answers291
viewspositioning of float elements without spacing
I have long been trying to solve this problem. whenever I create a site using div’s that are float I have the problem of leaving a blank space after the 1st div in the line break as in the example…
-
1
votes2
answers346
viewsCSS pseudo-class :Nth-of-type()
Look at that.. div .p:nth-of-type(2) { font-weight: bold; } DIV 1 <div div="div1"> <p class="p">p1</p> <p>p2</p> <p>p3</p> <p class="p">p4</p>…
-
1
votes1
answer873
viewsedge on TR not appearing
I’m applying edge to the TR’s <tables> but in no way it appears, see the code snippet: .rwd-table tr { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; } See full code: .rwd-table {…