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
answer483
viewsBackground with mosaic of photos
I need to create a background for my site in the style mosaico photo. When the page opens, the bottom of the site is filled with photos, filling the full width of the window (ie need to be…
-
2
votes2
answers119
viewsThe same transition does not work on different elements
I don’t understand why this transition (Translate, the up part) only works for the <p> and not to the <span>, in firefox. Someone help me? Jsfiddle here HTML: <div…
-
2
votes2
answers1432
viewsDistribute <li> list in 3 columns
I’m trying to create a list with 5 blocks, 4 230X140px and 1 250X280px , but they don’t align side-by-side correctly, they’re like this: I wish they’d stay that way: codes: HTML <ul> <li…
-
2
votes1
answer170
viewsCustom menu on the site
I would like to have at least one north how to make a custom menu as in this image. (In the image, the mouse is stopped(Hover) over Sustentability.) The vertical menu, with the submenu in the…
-
2
votes2
answers192
viewsOpen file . txt as tooltip
I’m wanting to add to my code a "HELP", type if he click the word he open a pop-up showing the details of the fields. But I would like to do this with a file .txt ... Where open a pop-up containing…
-
2
votes1
answer274
viewsLine breaking by changing css
I’m working with grids and I need to know if there’s any way to capture the box line number (Usually 1) to decrease the source number so it fits in the box so it only takes one line. Note: I have…
-
2
votes2
answers1913
viewsFont color in placeholder
I have a form with the following HTML: <div class="cont960 trabalheConosco"> <form> <input type="text" placeholder="nome*" /> <input type="text" placeholder="e-mail*" />…
cssasked 9 years, 11 months ago Felipe Viero Goulart 3,693 -
2
votes1
answer466
viewsCSS Toggle Switch with <select>
I need to transition from this script to use with <select>. See well the script working is like this http://callmenick.com/tutorial-demos/css-toggle-switch/ My selects (over 88) are ONLY in…
-
2
votes1
answer2835
viewsHow to put logo on sidebar or navbar depending on screen size?
I’d like to put a logo (Brand) in sidebar instead of navbar for larger screens and, when reducing the screen ratio (mobile devices and tablets and smarts), the logo should go to the navbar using…
-
2
votes1
answer2447
viewsHow to create a page with multiple images? One over the other
I’m drawing a layout and I’m already thinking about what HTML and CSS will look like. I can even imagine how to do it, but it’s possible that you have better opinions and suggestions. Layout still…
-
2
votes2
answers5335
viewsIframe does not really fit with 100% height
According to the following code, <iframe> does not fit vertically even when setting the attribute height like 100%. <div class="container"> <div class="panel panel-default">…
-
2
votes1
answer1421
viewsCanvas occupy the entire screen with css
I have my canvas on Html5: <canvas></canvas> I want the canvas to occupy all available area of the browser, I tried to do as follows: canvas{ display: block; width: 100%; Height: 100%;…
-
2
votes2
answers190
viewsWhat is the meaning of the prefixes of pseudo-elements in css?
What is the meaning of the prefixes of pseudo-elements in css? For example - Nth-Child, which means Nth at the beginning?
cssasked 9 years, 10 months ago angelorubin 119 -
2
votes1
answer68
viewsParse error on Less, says my class/mixin is not defined
I’m using ruby 1.9.2 and Rails 3 and Gem Less 2.6.0. I’ve already imported ruby mixins and the variables and yet the error persists. Less::Parseerror: #gradient > . vertical is Undefined Excerpt…
-
2
votes3
answers165
viewsDoes not display user names in Jquery Alert
Well I want to access the text content inside the div and show in an Alert(), but for this I have a list of users selected from the database, I made a small trick to add a counter in each class of…
-
2
votes1
answer344
viewsInternet Explorer 8 does not load CSS
I am working in a virtual store changing its layout, but the CSS that I have changed is the skin/frontend/meutema/default/css/style.css. So far so good, Chrome loads my normal changes, Firefox too,…
-
2
votes1
answer283
viewsGrid System or Twitter Bootstrap
I’m starting now to search for these "css layout setters", and the ones I hear most about is: 960 Grid System (http://960.gs/) and twitter bootstrap (http://getbootstrap.com/css/). I would like to…
-
2
votes1
answer511
viewsLet centralized Bullets and right and left navigation arrows in slider
I am unsuccessfully tempted to let the navigation Bullets centralized and the navigation arrows on the right and left side of the slider, as much as it changes the css settings do not succeed. This…
-
2
votes1
answer12945
viewsFixed Bar at the top
Hello I would like to put at the top of my page a bar of the color black, but I’m not able to do. Someone knows how to do it??
-
2
votes1
answer1378
viewsChange navbar style with scroll
I’ve been looking for a way to make a navbar bootstrap 3 has a behavior similar to Google+ navbar, when scrolling down it gets smaller and displays in place of menus with icon and title only menus…
-
2
votes1
answer742
viewsCSS interfering with element position while dragging
I have a script that allows you to click and drag an element through the screen and take it to the footer of the page, which has an area that attracts the dragged element. At the top of the page is…
-
2
votes1
answer647
viewsDropdown menu moving Ivs below
My dropdown menu is moving all the Divs below it. Here is the html: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">…
-
2
votes2
answers734
viewsTake the url of the first image of each post (div), store this url in a variable
I have a blog, and for each post is automatically created a div. On the home page only the first image of the post and the title (with link) referring to the post should be displayed. Only here, I’d…
-
2
votes1
answer91
viewsEnable mobile browsers' zoom feature in dropdown
There is the possibility to simulate the 'zoom' that mobile browsers implement in select, in a dropdown? Ex: When the user clicks on a select, the browser itself creates a modal, making the user…
-
2
votes3
answers367
viewsStop Menu scroll in certain resolution
I have a drop down menu along with the scroll. I used Jquery to add css attributes to make this happen. I don’t want this to happen when the site is less than 768px wide. That’s when it stands still…
-
2
votes1
answer1528
viewsCarousel Bootstrap
Hello, I wanted to know how to exchange these indicators, instead of buttons for texts, follow the code below: <div id="myCarousel" class="carousel slide" data-interval="3000"…
-
2
votes1
answer174
viewsAlign Row at the bottom of a Section
I wanted to line up a Bootstrap 3 Row contained in a container-fluid at the bottom of a Section of my page. What is the best way to do this without using javascript? I thought I could put Row in…
-
2
votes1
answer4330
viewsBreak table cells/td in html
I have a dynamically generated page with php/sql, in it exists a tabela with dynamic data, the tabela is inside a div that limits and organizes the ends and size of the page. But it is not being…
-
2
votes1
answer66
viewsReset to CSS "padding" declaration
Some frameworks, as the case of Bootstrap make use of CSS-based statements to standardize overall behavior in certain elements. In this case, the padding: td, th { padding: 0; } The problem is that…
-
2
votes2
answers207
views -
2
votes2
answers1247
viewsChange the color of a specific time slot in Fullcalendar
I’m working with the view scheduleDay on Fullcalendar. I have a function that blocks when the user clicks on specific time slots on specific days (these values are recorded in the bank). I wonder…
-
2
votes0
answers93
viewsHow to split content into pages in Ckeditor?
I want my text editor (Ckeditor) is displayed as if it were an A4 sheet, which has margins for the text and, when it is increasing, other sheets of the same size are added. It would be like a Word…
-
2
votes1
answer166
viewspicture size depending on screen size
I have a question on an HTML page I created. The whole page depending on the large or small screen automatically adjusts the size. Now the only thing I can’t do the same is Image. I wonder if you…
-
2
votes2
answers40368
viewsAlignment of text inputs in HTML/CSS
How do I align these two input? I’ve been trying for over two days and I can’t get them to line up properly.…
-
2
votes1
answer124
viewsFix page with Zurb Foundation 5 Modal Reveal
I have a modal made with Foundation, what I want is to fix the bottom of the page, and just move the modal, follows a model: Example of modal with scroll How can I accomplish that?…
-
2
votes5
answers17869
viewsHow to align the Left fields of an Html table?
I cannot align my Labels (Razor) to the left of my html table with Visual Studio! <table cellspacing="6"> <tr > <td > @Html.Label("Cep: ") </td> <td >…
-
2
votes1
answer214
viewstable with styles is not working with bootstrap
HTML: <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"…
-
2
votes2
answers7718
viewsView html and css alert by javascript
Good Morning, I am creating a form in html and javascript for validation, my idea is to create a success or failure alert with html and css (cute and etc), but I do not know how to "call" give a…
-
2
votes1
answer44
viewsProblem with CSS in Jquery
I have the following HTML: $(".membrosClick").click(function() { $(".membrosClick").css("width", "766px"); $(this).children().fadeToggle(); $(".listagemEsc").css("margin-left", "383px"); }); <li…
-
2
votes3
answers4198
viewsAlign image with text
How can I have a result like this? I need to add those lines like in the image, and leave Tags (which is an image) aligned with the text, as in the example. <div> <img src="<?php echo…
-
2
votes1
answer531
viewsHow to use Ellipsis with Bootstrap menu?
I created a horizontal menu with Bootstrap by following that example, but I have a problem when it is viewed on a device with very low resolution (most smartphones, except maybe the biggest ones):…
-
2
votes1
answer3237
viewsCustomize my modal bootstrap
I got a working modal: <!-- Bootstrap Modal Dialog --> <div class="modal fade" id="myModal" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div…
-
2
votes3
answers4067
viewsUse "text-overflow" with "height"
Suppose I had a div, I applied to that div text-overflow, for her respects the width of the div and add the reticencias(...), but until then, she only respects the width, and I wanted this element…
-
2
votes0
answers40
viewsModal without Javascript usage
How can I make a Modal without using Javascript? It could be with CSS for example.
-
2
votes4
answers191
viewsDoubt with CSS selector
People are doing a grid that displays from 1 to n images and in each row it shows 2 columns. The HTML structure is this: <div id="container"> <h2 class="linhasFotos"> <a title="nome…
-
2
votes2
answers898
viewsFormat tabs from an HTML menu
I created a tab but I would like to make a few minor changes that I cannot. I would like to replace this area for example with circles instead of text: How can I do it? $(document).ready(function()…
-
2
votes1
answer515
viewsProblem with svg background
I’m studying a little bit about svg And I found the giant shapes on the sites amazing, but I’m having a really hard time reproducing correctly. I created a 693x768 shape that will cut a page, but I…
-
2
votes4
answers3635
viewsHow to center a div with variable size and position Absolute?
I have a question that is consuming me a lot of time, next: I need to center the counter of the image below, but it needs to be at the bottom of the screen (with position:absolute) and the div of it…
-
2
votes1
answer391
viewsProblem with include.php positioning
I’m having a problem with the positioning of the footer I made with include.php. I created a file include.php, for now the only thing that has in it is a box where the footer will be, because I’m…
-
2
votes3
answers2251
viewsDifficulty adjusting menu and footer in responsive layout
The code below relates to menu and footer, whose I’m having trouble adjusting to responsive layout: /*Código por Domingos Pereira, GPSI12 */ /*Dísciplina de Redes */ /* Professor: João Delgado */ /*…