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
answer3659
viewsHow to customize checkbox/radio without using background: url?
Whenever I search for "customize", "checkboxes" and "radios", examples appear using background:url(image.png). There is a way to customize a "checkbox" with "CSS only" without use background:url?…
-
2
votes0
answers541
viewsRetractable menu breaks css properties when triggered
/* Responsive Mobile Menu v1.0 Plugin URI: responsivemobilemenu.com Author: Sergio Vitov Author URI: http://xmacros.com License: CC BY 3.0 http://creativecommons.org/licenses/by/3.0/ */ function…
-
2
votes1
answer66
viewsInherit text from element
Without using JS I need a simple example of how to use variables in HTML5 elements to present their content. In the Hover action, the pointed element should be highlighted and pass the text to the…
-
2
votes1
answer228
viewsSort data with google Chart
I have the following google chart Chart: https://jsfiddle.net/ektcghyk/ I wanted to sort the left columns as follows: Basic, Below Basic, Proficient and Advanced. Currently it is out of order, there…
-
2
votes1
answer184
viewsResponsive layout
I’m having problems in the responsive layout part, I’m wanting to start working with the following sizes: 1280 x 1024 1024 x 768 768 x 1024 480 x 320 1680 x 1050 1024 x 600 However, I had already…
-
2
votes2
answers480
viewsHow to keep the element in the final position of the animation?
I am using this code to make an effect and keep the element in the final position of the animation, ie to the right. HTML: <div id="anim"> </div> CSS code: #anim{ position: relative;…
-
2
votes1
answer2228
viewsHow to organize the HTML body on the screen with CSS
I made a header and a retractable side menu, but I can not now organize the body of the site next to the menu, it is always down and if I give float left and right it is occupying 10% of the screen…
-
2
votes1
answer350
viewsDesktop applications developed in HTML CSS and Javascript
I have a MVC web application on .Net. I need to migrate there to desktop. However I would like to keep my application with Web Views. I know that for Android app and IOS it is possible to reuse the…
javascript c# html css desktop-applicationasked 9 years, 5 months ago Luã Govinda Mendes Souza 1,072 -
2
votes2
answers693
viewsCSS content property generating an image
I was taking a look at a class from a Wordpress template and saw that it created an image of a facebook logo using CSS content with a string of characters. The section that generates the image is as…
-
2
votes2
answers794
viewsCSS: Character inside a round element
I need to create an element (span, possibly) that will contain a character (initial letter of name) and that element needs to have rounded corners. I managed to do it in a precarious way, because…
-
2
votes0
answers125
viewsMulti-platform mobile development
I am developer . Net (MVC, WPF, MCF) and need to develop a project mobile cross-platform, I did a search and verified that there are several framework’s that resolve the issue as Phonegap, Apache…
-
2
votes1
answer118
viewsHow to navigate a website if a single page?
I want to make one of those one-page websites, but I can’t think of one thing: how can I do that when I click a button it scrolls down the page to the related content? In the menu have to have a…
-
2
votes3
answers3573
viewsHow to display only half of the div background-color
I need you to show only 50% of the DIV’s BG, so? #coberturas legend{ font-family: 'Open Sans', Arial, Helvetica, sans-serif; padding:10px 20px; display:block; position:absolute; bottom:0;…
-
2
votes1
answer1327
viewstext-overflow: Ellipsis - Displaying text when mouse over
I made appear "..." at the end of a very large title, when I hover over it I can already make it display the rest of the title, but it does not use a line break. How do I want it to work? When…
-
2
votes2
answers4072
viewsShow and hide a div by clicking the same link
How do I show a div when I click on a link and hide again when I click on the same link?
-
2
votes2
answers83
viewsDisplay None helps resolve slowness on an onepage site?
The site is onepage and is separated by the respective article and Section. When scrolling, elements that are not needed (article) continue on stage but outside the limits of the browser. Due to the…
-
2
votes2
answers141
viewsHow to hide a div only in firefox
Hello, In what way is it possible to hide a <div> only in Firefox and display in other browsers?
-
2
votes1
answer95
viewsOne of the page elements moves by clicking on the other!
It is not Javascript that is doing this that I will quote below with my page, but yes, the CSS itself, I do not know what this is, I tried to solve 'without gambiarras', but it did not work :( See…
-
2
votes1
answer5125
viewsHow to print HTML background colors with CSS
<body> <div id="div0"> I love ... </div> <div id="div1"> Teste </div> <table id="table" border="1" align="center"> <tr> <td> Coluna 1 </td>…
-
2
votes4
answers2949
viewsFix div at the bottom of the page
I wonder how I leave one <div> fixed at the bottom of the page, like I made her stay down with margin-top, but only that in the Firefox and one thing when I open in the Chrome to <div>…
-
2
votes2
answers120
viewsDifference between [ID="MAIN"] and #MAIN
Guys, can anyone tell me the difference between: [ID=""] and # [CLASS=""] and . What difference do they make, code get bigger? Uglier?…
cssasked 9 years, 4 months ago Edward Junior 243 -
2
votes1
answer1024
viewsChange the background of a Scroll div
Hello, I’ve tried several ways but so far I haven’t been able to create a bar similar to the one on the site http://www.socket.io that moves as the page goes down. *I mean the galaxy bar at the top…
-
2
votes1
answer166
viewsJavascript style buttons
I am trying to make on a page, that buttons that are clicked change their style and also start to display a div when they are clicked. Only that they should be mutually exclusive, that is, when I…
-
2
votes3
answers2617
viewsPut div in the background
I need div 01 not interfere in the positioning of the other Ivs, such as div 03 for example, or is that div 03 comes right after div 02, that the Ivs follow the normal page flow without needing div…
-
2
votes2
answers1084
viewsHow to loop posts in Wordpress?
Guys I need to create that provision of articles in my Wordpress loop and do not know how I could do. I know it will require some instructions in PHP and some implementations of Bootstrap, I’m using…
-
2
votes1
answer964
viewsHighlight table row under cursor with Pure CSS
I created a very simple HTML table with 4 lines and 4 columns and used the Pure CSS to make her more beautiful. Then, I wanted the table row to be highlighted when the user hovers over that row. All…
-
2
votes1
answer387
viewsCSS Disfigured mobile menu
When the site gets responsive the menu gets that button to open a menu. The problem I’m going through is the question of CSS him. He should have a style, cute, stay in block, only he stays that way:…
-
2
votes1
answer10173
viewsCentralize div container materialize
I got the following shit on mine HTML: <div class="image"> <div class="container center-align"> <h1 class="grey-text text-lighten-5">Análise de Sistemas</h1>…
-
2
votes1
answer57
viewsPseudo Class in CSS Does Not Apply Rule
I’m making a CSS to control the printing of a page. The only thing I’m going to show in print is an image that’s on the page. So in CSS I did like this: *:not(#imagem-draw){ display: none; } But the…
cssasked 9 years, 4 months ago Diego Souza 16,524 -
2
votes1
answer5877
viewsHow to get a div to automatically scroll down?
I have a div with a lot of text, and I want that when loading the page the div starts to do automatic scroll showing the whole text... html: <div id="corpo"> <p> Titulo da notícia,…
-
2
votes2
answers2640
viewsTake data attribute value and apply as text in another html element
I have a series of checkboxes in an interface that are already configured to display/hide other elements of the interface conditionally. In this same interface I have a div set to display messages…
-
2
votes1
answer499
viewsDrag div inside another
I wanted to make a volume controller, I’ve done css, php, html, but it lacks js and jquery to finish. I wanted to . ball dragged inside the . control CSS: .bola { width: 10px; height: 10px; }…
-
2
votes2
answers1751
viewsHow to center a slide?
I’m using that slide before and after. The point is: I need to center this slide and make it responsive, because when I play the code it’s leaning on the left corner. I tried to give a margin-left,…
-
2
votes1
answer3005
viewsHow can I change the color of scrollbar inside a div?
How can I change the color and style of a scroll bar within a div? I searched the internet and found this example but it didn’t work: scrollbar-arrow-color:#000000; scrollbar-base-color:#000000;…
-
2
votes1
answer198
viewsCreating application . exe type phonegap
I wonder if there is any application like the phonegap that translates packages a system html+js+css in a .exe If yes (I believe there is) What (is) tool(s) exists(m)? How to create?…
-
2
votes2
answers132
viewsCircle with text in the center Asp.net
I would like to know how to make a circle with a text in the center on Asp.net, follows image of the expected result.…
-
2
votes2
answers223
viewsProblem with overflow
I am making a site, whose menu is 'fullpage'. The problem is that if the menu (page) is less than 670px (min-height: 670px;) would like the menu (#menuWrapper) keep scroll so you can scroll and see…
-
2
votes1
answer306
viewsVertical menu with filter inside the sub-menu
I would like to make a filter inside the sub-menu, filtering the menu itself as you type it will display the related. The idea would be similar to this link. At the end of my menu has sub-menu…
-
2
votes1
answer977
viewsHow to "crop/slice" the image layout with HTML and CSS?
I have doubts about how to build the layout below with HTML/CSS: I haven’t implemented anything yet, because I have no idea how to do. Any suggestions? Thank you!…
-
2
votes1
answer99
viewsInput within DIV with visibility:Hidden
Guys, here’s the deal, I hid some div,that have inputs from a form inside, with style='visibility:hidden; position:absolute' And I’d like these DIV did not send information when the form was…
-
2
votes1
answer160
viewsCSS + Bootstrap Alignment
I’m using bootstrap thumbnail but can’t find a bootstrap class to leave the same inline; I’m using this thumbnail. and would like it to stay exactly as it is in the example; have tried in <div…
-
2
votes1
answer310
viewsChange CSS with session and misaligned Ivs
Generally speaking, how to change the CSS property of a tag depending on the user’s access to the system? Below is the header image (draft) before the user access the system: And below the same…
-
2
votes1
answer721
viewsWhat is the best way to set the height of an iframe at 100%?
People what would be the best way to define the height of a iframe at 100%? I have tried with Height=100% own property HTML (although it is no longer advisable after the HTML5 and of the CSS), and…
-
2
votes1
answer253
viewsCustomize cursor with css
I would like to know how I change the cursor, putting an image I want, is possible ? I’ve tried to do it this way: CSS? #esquerda{ width: 400px; height: 600px; border: 2px solid red; cursor:…
cssasked 9 years, 3 months ago Gabriel Longatti 559 -
2
votes1
answer860
viewsMenu with vertical and horizontal balls
How can I make these two menus? I got it from the Twitter site, but I didn’t want to get their codes, how can I do that? so that I can add infinite numbers with their respective descriptions..…
-
2
votes1
answer263
viewsShow mobile image when it exists
Hello, I have a CMS own and encoded a feature to allow, in addition to uploading image of default size, a second image mobile that will be shown with media query when the resolution is less than…
-
2
votes1
answer59
viewsCentrar is not working on ipad
I’m developing an android application, but I’m programming in eclipse in windows using HTML, Javascript, CSS and Jquery To test the development of the application was using an extension for google…
-
2
votes1
answer161
viewsCenter text within an image in the div
I have a little problem in this blog that I work, http://bloganacastro.com The grids of posts just below the logo are working all OK, however, as you can see the text (title of the post) when the…
-
2
votes2
answers783
viewsClear input when user starts writing
Good afternoon, maybe there is already this answer or this question. However I did not find here or in google as I need. I found several scripts to delete the field of an html form when the user…
-
2
votes2
answers2201
viewsDisplay element when mouse is over an image
I have 4 elements <div> where they have a component that is only displayed when the user hovers over the <div> container (the one that has class="thumbanil") however when I move the…