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
votes2
answers65
viewsChecking styles that are not being used on a website
I know some tools to check on a site which css styles are not being used, but none of them in my opinion is really complete, someone knows some of the genre to tell me?
cssasked 8 years ago Munir Baarini 673 -
1
votes2
answers1306
viewsRemove the edge of an image when clicked
I’m having trouble with a menu that has images with redirect to modal, when I close the modal he gets a blue border on Chrome and dotted on IE, I’ve tried outline: none and border: 0. Someone’s been…
-
1
votes0
answers330
viewsHow to make this effect in css?
Hello, I would like to know how to apply this effect in CSS. I can’t describe what those vertical stripes are called. I’d also like to know how you make that dash inside a div. Thanks in advance.…
-
1
votes0
answers708
viewsProblems with DATEPICKER, using only month and year
Good afternoon, you guys I have a little problem in my plugin datepicker I’m only using month and year in it, and when selecting a month and a year, the month instead of coming in number, for…
-
1
votes1
answer3575
viewsCreate a curved div
Good morning, I wonder if it is possible and how to create a div with that U curve up and down using only css, I tried several ways and I couldn’t. Thank you.…
cssasked 8 years ago ErasmoOliveira 117 -
1
votes1
answer412
viewsHow to insert declared CSS with Javascript after scrolling the page
Well, I just wanted to make the javascript function work: var $document = $(document), $element = $('#minhaDiv'), className = '.teste-css'; $document.scroll(function() { if ($document.scrollTop()…
-
1
votes3
answers23335
viewsavoid line break within a table, or minimum size
Galley is possible to determine a maximum and minimum size for a table? My problem and the next, I have a table with a text inside it, and when I decrease the size of the window of the navigate…
-
1
votes4
answers1845
viewsHow to identify Focus in a div?
Galera mounted an input system with the same layout of android. Everything works perfectly on input but the input supplier stays within a div, because I have to add a button instead of x. The…
-
1
votes3
answers4152
views -
1
votes1
answer161
viewshow to change an image src from another page
Hello, I have an input where it serves as a search bar. By entering a name and pressing enter, a function is activated and performs the following function: function verificaValor(){ var valor =…
-
1
votes1
answer532
viewshow to change an image by clicking on a link
Hello, how do I change the src of an image when I click on a link next? I have a long list of images and I would like to advance according to the amount of images in this folder, rather than by one…
-
1
votes3
answers1167
viewsHow to make language selector
I have a website and need to put a language selector on it, when the user selects the flag corresponding to the desired language to be redirected to a specific url. <select>…
-
1
votes1
answer3664
views -
1
votes2
answers978
views -
1
votes2
answers1593
viewsHow to use the Oninput attribute?
I’m remembering some things in HTML and I came across the attribute Oninput. I know this attribute is used to make calculations, but I don’t know how to use.
-
1
votes1
answer1184
viewsclick on the increase div click again decrease
Guys if you can help me in this question I would like to click a div that is fixed in the footer and it increase and then click again and it decrease, how do I do this?
-
1
votes2
answers7745
viewsHow to check if an element has a class, or is with an "active" class
I used the .toggleClass() in a div, after clicking on a button, activate the class "menu-active", if clicked again, it removes it. So far so good. Only now beyond that, I need something to check…
-
1
votes1
answer192
viewsCSS does not overlap
Even using ! Important, I can’t increase the font-size of the text of this form. I’ve tried font-size: in the custom CSS (theme options) I’m using in the plugin CSS (Gravity Forms) And none of them…
-
1
votes1
answer4431
viewsAdd text under images using table
I’m using a table to align images and text. However, when the resolution is low, it gets very unpleasant and I wanted to put the text down in low resolutions. How to do this, being within a table?…
-
1
votes1
answer944
viewsIframe hiding content
I have a iframe which receives "interactions.php" which is a select. But the iframe hides content on account of height="100%". If I put height=20000px; he shows everything. How can I make everything…
-
1
votes0
answers571
viewsHow to make a side menu that expands by pushing the body?
In the style similar to that of this site here: LINK
-
1
votes0
answers337
viewsCreate dynamically angled checkbox columns
I’m trying to dynamically create checkbox columns in a dropdown using angular. I use bootstrap. Each checkbox item may or may not have related children. The solution I found was to put everything…
-
1
votes1
answer1885
viewsSuperimpose div on another and position in the upper right corner
How can I overlap one div with another and always position it fixed in the upper right corner always in relation to the div that it is inserted? I tried with z-index e position:absolute but I did…
-
1
votes1
answer749
viewsStyling the Menu with CSS
Guys, I’m coming back here again with my question. I got a code that made the :hover was selected on the current page, but it’s not working, would anyone tell me why? Follow the codes: <script…
-
1
votes2
answers2740
viewsDatapicker in Portuguese
I need to put a datapicker on a page, the same should be in Portuguese and in "dd/mm/yyyy format". <div class="form-group col-md-2"> <input type='text' class='form-control datepicker'…
-
1
votes1
answer52
viewsDouble menu with jQuery
I would like to know how I make a menu like this site => http://ghfly.com/, preferably using only jQuery and VLWS css!
-
1
votes1
answer110
viewsBootstrap Jquery error
I don’t understand why I get this error. I already entered all the scripts, and still nothing. I was reading that Bootstrap 3.3.7 should not work, but I need it for my tables and so on. someone can…
-
1
votes1
answer1310
viewsHow to prevent a div from leaving the page, when another div changes size?
My page has basically two divs, to the right and to the left, the two are with style="position: fixed;", that is, if I roll the page, those two divs are side by side, fixed, always visible. But when…
-
1
votes1
answer38
viewsIncrease menu width jquery css
Naughty personal talk! : ) Great, I downloaded a menu in jquery on https://github.com/christophery/pushy/. I found it really cool. but I can’t in any way increase the width of the menu. I’ve changed…
-
1
votes2
answers22742
viewsView Div in Mobile Version Only
I have a question and I think other people might have that same question too... Let’s go: I have a website, with header edited to appear on computer screens (resolutions bigger than tablets) but I…
-
1
votes1
answer360
viewsDefine the class of a li element created at runtime
Below I have a stylized list with the bootstrap (defining the class of ul and li) <!DOCTYPE html> <html> <head> <link href="bootstrap-3.3.6-dist/css/bootstrap.min.css"…
-
1
votes1
answer214
viewsWhat characters can I use to define a class name?
I know it is recommended to use letters and dash, but if I want to use a class teste1/10, which recommendation?
-
1
votes1
answer38
viewsStylesheet with cookie works only the second time
I have a site that the style is set by the cookie "standard" or "dark" However, if you enter it the first time it saves the cookie with "default" value, but it does not take the style. It only works…
-
1
votes1
answer1486
viewsplace DIV in the center of the page
How do I get this div to the center of the page? .dialogbox { position: absolute; top: 30px; width: 550px; border-radius: 4px; background: #FFFFFF; margin: auto auto; overflow: hidden; display:…
cssasked 7 years, 11 months ago Hugo Borges 5,294 -
1
votes1
answer32
viewsHeritages of CSS
Is it possible to inherit a class from one css to another css? Ex: .div1{ background: -webkit-linear-gradient(top, #088fad 20%, #00d5ff 100%); } wanted this div1 to inherit the class col-md-12 so…
cssasked 7 years, 11 months ago Fabio Souza 1,859 -
1
votes2
answers9856
viewsAlign image next to horizontal menu
Hello, I have a small problem, I added a horizontal menu to the html of the site and I wanted to put an image beside (right) but it won’t, I tried by float, align, margin and nothing, I don’t know…
-
1
votes1
answer113
viewsHow to take out Grayscale in css :Hover
Hello I put a grayscale on an image, wanted to know how to take this effect when I put the mouse on top of the image... .grayscale { background: url(yourimagehere.jpg); -moz-filter:…
cssasked 8 years, 8 months ago Felipe Jorge 1,479 -
1
votes0
answers68
viewsCustomize Swipe JS centralized and appearing other elements
I need some help. I am using framework7, and consequently Swipejs in a template in which I need to leave it more or less like this, (App Duolingo). with the cards down and always the next and…
-
1
votes1
answer136
viewsHow to create a menu with jquery that performs this effect after scroll?
Hello, my friends. I’m a beginner and I would like to know how I apply this effect in a fixed menu (for desktops) so that when the user navigates to the following Section (after #home Section) a…
-
1
votes1
answer85
viewsProblem with css menu
Guys I set up a menu in css that works very well, the problem that when placing the mouse cursor on top of menu letter it changes, it seems to change its edges. Can someone help me solve this?…
-
1
votes1
answer46
viewsHow to set two (or more) css parameters at once?
I wonder if it is possible, in a scenario where the two values were equal. I would do this to advance the writing. For example, pass HEIGHT and WIDTH together: height, width: 50px; I tried to do…
cssasked 7 years, 11 months ago Seu Madruga 2,481 -
1
votes1
answer148
viewsHow to scroll position div by an image
I’m using a script that when triggered positions me in a div specific, is working, but the code I have does it from a link text and I am trying to adapt it to an image and that it is positioned…
-
1
votes2
answers182
viewsOpen different Divs via links
Hello, I have the following SCRIPT below. It opens the DIV that is with display:None; however I will have a list of links to open new DIV’s and I don’t want to keep creating new ones to open each…
-
1
votes1
answer92
viewsDifficulty Bootstrap image menu
I think doubt is simple, but I’m having a hard time. I am creating a menu of images, using Bootstrap, and it is working properly. The problem is, how do I click on one of the thumbnail images,…
-
1
votes1
answer166
viewsCSS architecture, could someone explain it to me?
I’m learning CSS, I’ve read a few articles about good ways to write your code, and that it would help in teamwork. So I read acronyms, like - Well, OCSS, SMACSS. So I was very curious, only that…
-
1
votes0
answers237
viewsAllow zooming into mobile phones only in a div
I have an HTML with the meta: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=yes"/> That is, can not zoom in mobile. But inside this HTML is…
-
1
votes2
answers1809
viewsHow to create a fixed column (col-Md) in bootstrap?
I’d like to keep the left column fixed, and the right one mobile. There is a bootstrap class or another technique to solve this ? I tried it this way : <div class="row"> <div…
-
1
votes1
answer616
viewsLaravel 5 mail format html with css
I’m sending an email through Mail of Laravel 5 $data = Input::all(); Mail::send('mails.sendteste', $data, function ($message) { $message->from('[email protected]', 'Sistema');…
-
1
votes4
answers3163
viewsRemoving spaces in input fields
Colleagues. I have a form that I would like the user to copy a particular word and paste into the input field, remove the spaces between the automatically copied phrase or word. Would have some…
-
1
votes0
answers134
viewsCarrousel does not get responsive
I’m having trouble leaving a page with responsive bootstrap, with the full screen it is correct: When I test to see how it responds on smaller devices, my Carrousel is not responsive: The following…