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
answer118
viewsMobile Page in Chrome Simulator
The sites I am developing have presented some problems. I believe it is because of my inexperience in mobile pages - responsive. I make my websites in Mobile First. And to test the site I use the…
-
2
votes2
answers5843
viewsModal opens superimposed by black background
My modals are opening up under the black bottom, like this: In case I take the z-index:1040 from the code below, the black background: .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0;…
-
2
votes1
answer823
viewsMy site gets messy in Microsoft Edge, Firefox, and Safari. How to Resolve this Issue?
My site picks up Chrome and Opera, but when I test these other browsers it gets messy, plus, in Edge. Edge- Safari- Firefox is the one with the least errors- My Code:…
-
2
votes0
answers54
viewsWhat is ">" in CSS3?
I’ve always had this question: what is the point of > in CSS3? I have tried to deduce its function in several files, but still not understood. That: nav > li > a { ... } wouldn’t be the…
-
2
votes1
answer2597
viewsHow to do line breaking in a <li>?
How do I break a line in a text that is inside a li, and configure css to be correct? I’m trying to make a menu whose list items have a square background, but I can make the line break but the…
-
2
votes2
answers278
viewsJSF2 tags does not work inside a Bootstrap tag
I created a Java Web project that is using JSF2 + Bootstrap, both CSS file and Bootstrap are correctly configured in my project, and in previous Web Java project was always responsible for the…
-
2
votes1
answer1235
viewsHow to effect "Hover" in SVG icon?
How do I make an effect :hover on an SVG icon? Example: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> .agenda { fill: cyan; }…
-
2
votes2
answers505
viewsCSS form diagonally without bending the letter together
Hello, I need to make a diagonal form. But the form letters get crooked together "search in store". Someone can solve this with CSS? HTML Used <div id="search" class="col-xs-10 search…
cssasked 9 years, 2 months ago Felipe Jorge 1,479 -
2
votes2
answers865
viewsCreate octagonal border button using html and css only
I need to create a button with the edges in octagonal as in the example attached but did not succeed. I need you to have a white border and the background to be free so you can change color when…
-
2
votes3
answers4509
viewsPrint orientation using Javascript, CSS, HTML or PHP
Is it possible for me to "pre-set" the orientation of the page, when the user is already printing is marked as landscape? (Landscape) My case is the following, I’m code similar to this example…
-
2
votes3
answers818
viewsHow to configure a dynamic dimension div delimited by other div’s?
I am looking for a way to have a layout that meets the behavior below: The big question here is to make the central div delimite itself to the ends of the other div’s, so that they do not overlap…
-
2
votes1
answer364
viewsAlign form elements to the center?
How can I center input/textareas (but I want the label to stay on the left)? form { width: 700px; color: red; } form textarea,input { display: block; margin: 0 0 30px 0; } <form> <input…
-
2
votes1
answer1978
viewsHow to set box amount with flex
If I use display:flex in a structure ul>li, all items will be squeezed into a single row. I wonder if it is possible to determine the limit per line, for example three.. I can do with float:left,…
-
2
votes1
answer2760
viewsTransforms . min file into "normal" file
I have a . js but he is. min wondered if it is possible to revert to the format with those "tabs" and line break, for better visualization of commands
-
2
votes1
answer756
views -
2
votes1
answer2621
viewsHow to decrease the spaces between the edges of a table in html?
I have a table and would like to remove the spaces between the edges! How can I do this? <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;…
-
2
votes3
answers3680
viewsHow do I eliminate the top space my DIV leaves?
I have a DIV of leaves a space between her and the top of the browser, see: http://www.roteirodoimovel.com.br/modelos/3/teste.php CSS: .element { position:relative; display: table; width:960px;…
-
2
votes2
answers205
viewsUnwanted 1px space in Internet Explorer
On my website, below the footer is a space of 1px that only occurs in Internet Explorer. In my case, I’m using the IE-10. The footer has fixed positioning, I inserted it outside the container of the…
-
2
votes2
answers3787
viewsShow Tabulated in HTML Table
My problem is this, I can only display the results in one alert, how I would put the values inside a table? <title>-Calcular tabuada</title> <script type="text/javascript"> <…
-
2
votes1
answer103
viewsIdentar and colorize VB.Net code
Is there any JS or/and CSS that is able to indent and color VB.net code inside a div or input?
-
2
votes1
answer921
viewsDynamically increasing the content of the div
I have 3 div’s and div2 should have dynamic content (growing as the content is inserted in it), div1 should follow the growth of div2. How can I do that? <div id="divPrincipal"> <div…
-
2
votes1
answer1195
viewsHow to change the position of bootstrap elementals?
I wanted to change the position of elements of a page formed in bootstrap As I present in the following images as I resize the page the buttons [EN][PT][ES] change positions and I believe it is…
-
2
votes3
answers122074
viewsPlace text next to image
I’m trying to put an image and a text on the side, but I’m not getting it. The text is under the photo or I can put the first sentence of the text on the same level as the top of the image on the…
-
2
votes2
answers4370
viewsHow to "get rid" of vertical space between Divs?
I’d like to get every piece of my website glued to each other, each in a different color. But I can’t get rid of the blank space that stays between the Ivs. I tried to remove the code space and…
-
2
votes1
answer300
viewsHow to change the display of a select options on mobile devices?
Before you start cleaning my CSS and JS files, when you open one select on my mobile device (Windows Phone with IE) it opened the options on a black screen that overlapped the page, and only…
-
2
votes2
answers1831
viewsProblem placing a background image in only one view
I have a small system in Angular where I have a login screen: But when I try to put a background image the result is not as expected: I’m doing it this way: <div class="background"> ../Código…
-
2
votes1
answer301
viewsToggle css class in a Nav toggle, using Jquery
I’m making a menu with a toggle using Jquery. The menu is working perfectly. I’m using a class from Font Awesome to show the icon on the button to activate the toggle. I want to change the class…
-
2
votes3
answers840
viewsCountdown, split time by div
I needed help with this countdown system on how I could divide |DIA|HORA|MINUTO|SEGUNDOS| into each div Example: Div day would display the day Div hour would display the hour Div minute would…
-
2
votes3
answers4204
viewsDiv exceeding Modal width limit
How to render the following content without it exceeding the limit width of modal? Current example of rendering: Code: <div class="modal fade" style="width: 100% !important; height: 100%…
-
2
votes1
answer2234
viewsHow to receive data from a form via the HTML class attribute?
I know it is possible to "call" the name of a form in a php file. But in a php file, it is possible to "call" a class made in a form to get the same effect of "calling" the name, i.e., how to send…
-
2
votes1
answer65
viewsSASS SCSS - Problems with rounding.
I have the following problem: developing a Grid system with SCSS, I got the problem of rounding the percentages that define the size of each column. I was wondering if anyone has a solution for…
-
2
votes2
answers109
viewsHow to fix "dancinha" (Flicker) of icons Webfont when doing page Load?
When re-loading a page the icons of a Webfont are loaded only after loading the CSS and this causes a "little dance" in the text. See below for the unwanted behavior of the icon when re-loading the…
-
2
votes2
answers1070
viewsHow to arrange the table so that photo and information are on the same line?
I need the image and property information contained in the table to be at the same time, but I don’t know how to fix. They follow the pictures of how it is and how I wanted: Follows the code:…
-
2
votes0
answers49
viewsStyle Placeholder Text in a particular div or input
How can I determine where the style will be using the function? ::-webkit-input-placeholder { color: red; } Example have 4 input with different placeholder formatting.…
-
2
votes1
answer9081
viewsAlign div in footer inside another div
I have a DIV content that includes another called Images, I would like div images to be at the bottom of div content with a certain space that I could define, ex: 400px, but this happens: I’d like…
-
2
votes1
answer1127
viewsHow to reuse HTML menus on other pages
I am new to the front-end and I would like to know how I can write once the menu and reuse in other pages? I’ve read some posts but could not implement in my code. Example; I have a menu of the main…
-
2
votes1
answer5307
viewsHide address bar on mobile devices
Is there any way to hide the address bar in mobile browsers?
-
2
votes1
answer3726
viewsWhat’s the difference and when to use @mixin and @extend on SASS?
Both the @mixin like the @extend seem to have the same goal: Add a standard code block to a class. But if they have the same purpose, what is the difference between them? And when should I use one…
-
2
votes2
answers562
viewsChange the color of a box in the horizontal menu
I’m making a horizontal menu and I want each element of this menu to have a 20px box. Now I want that when passing with the mouse by top that box change color. That’s why I thought the a:hover…
-
2
votes2
answers949
viewsHow to change a color based on scroll position
Hello! I’ve been searching for a while and I find a lot of things, but for what I specifically want, no. On my Tumblr blog, I want to put a border around posts with approximately 5px, whose color…
-
2
votes1
answer685
viewsBevel[Bevel] effect on PS text in CSS
I’m facing a problem I believe is common among Designer and Dev/Frontier/webdesigner or for lack of communication at the time of creation or for lack of technical knowledge of the developer to apply…
-
2
votes3
answers1151
viewsMake it difficult to access CSS and JS files
I have on my website several files css and js and would like to hinder direct access to them, only I have no idea how I could do that. For example, in php it’s simple to do this, but how could you…
-
2
votes4
answers5359
viewsCustom font in html/css does not work
I’m trying to insert a non-standard font into my html, but it’s not working. I downloaded the source and put it in a folder /font inside the briefcase css. Follows the code: @font-face {…
-
2
votes1
answer1110
viewsHow to create "grid" with floating elements similar to Pinterest
Hi, I’m creating a grid with divs floating to the left, but when it reaches the fifth div in blocking 1000px, it floats to the right and not to the left as it should be and the margin-top gets…
-
2
votes1
answer81
viewsIs there a generic Css code to turn my website into "mobile friendly"?
I would like to turn my site into mobile friendly. I know you can do it for css because I don’t want to change the web page template.
-
2
votes1
answer1385
viewsHow to do a Jquery that when selecting a radio button, changes the items of a select?
I’m creating an html site and I’m kind of a beginner yet. I’m doing an establishment registration screen. My problem is: when selecting a radio button, I want you to change the select data…
-
2
votes1
answer85
viewsHow to make a circle-shaped audio player that calculates the time around you?
So.. I saw a player on a website: http://nicolaserrera.com/ and wanted to know how I can do a similar..
-
2
votes1
answer67
viewsJquery - Mouse events vs Z-Index
I have the following problem: I created a div and within it there is a second div with a text. <div class="red"> <div class="blue">OK</div> </div> The div-parent received an…
-
2
votes1
answer6629
viewsCreate a login and password form in the upper-right corner of the screen
I’d like to put a form login and password in the upper right corner of the screen with the option to register. <input type="text" name="nome"> <input type="password" name="senha">…
-
2
votes0
answers283
views