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
answer31
viewsRollover menu links do not work
I have a problem with my menu which consists of links with images that are replaced by others when on mouseover. I did a snippet so you can see the problem. If you notice, I took the text-indent the…
-
1
votes1
answer451
viewsHow can I be doing various modals on one page, just pulling another PHP page inside the modal?
I have a code that opens a modal with another PHP page inside the modal, but I could only do this with a page. I would like to do the same thing using this code for the other buttons, only opening…
-
1
votes2
answers365
viewsWhy do browsers render the same page in different ways?
I would like to know why browsers read the same page (HTML, CSS and scripts) and the displayed result is different in some cases.
-
1
votes2
answers197
viewsPass database ids in css
Good afternoon. I want to change the css of a div whose id is equal to the id coming from a database. How can I do this? Can I use php in css? I want to pass the id where it is ? HTML <div…
-
1
votes0
answers24
viewsHow do I work the exportEnable function on canvas js in internet explorer?
I have this code below that shows me a graph but in IE does not work the function exportEnable and animationEnabled in Chrome works but when I call the page in modal the screen height is short in…
-
1
votes2
answers385
viewsPagination effect
Observe paginated websites and blogs in the header or footer. When triggered the Button Anterior or Próximo, is highlighted in bold the numeric link, signaling the page where the user is currently.…
-
1
votes0
answers42
viewsProblems with CSS and jQuery
I have a style defined for my select Boxs and I have on change in select to run the site of the select box, when use style does not perform the onchange or does not go to the site I have in my…
-
1
votes1
answer44
viewsRegex to add a hierarchy level to all CSS rules
I don’t have much knowledge about regex (I don’t think anyone fully understands this) and would like to make a regular expression to change a CSS file by placing a hierarchy level (a class called…
-
1
votes1
answer75
viewsBug with slide jquery effect
I am developing a button that when passing the mouse has a slideDown effect. I made an example of jsfiddle: https://jsfiddle.net/xmwrrom4/ When the mouse is passed once the expected effect is…
-
1
votes2
answers5961
viewsHow to modify the default Datatables + Bootstrap layout
Hello, I used a tutorial I found on Youtube to use Datatables in my project. I managed to make everything work but the look didn’t get very cool as you can see below. So looking I found a section on…
-
1
votes2
answers6208
viewsHow do I keep my footer down?
I want to leave my footer (http://codepen.io/xmauricioo/full/Zemzvv/) like the footer of this page (https://codepen.io/cbracco/full/zekgx) "Always on the bottom". I’ve tried everything and can’t…
-
1
votes1
answer32
viewsCalculations with Less css
I have the following mixin: .mixin-loop (@i) when (@i > 0) { .navigation .dropdown > li:nth-child(@{i}) { .vendor(animation, new-menu 200ms ease-in-out forwards); } } This . vendor being only…
-
1
votes2
answers70
viewsback the click counter signaling where it stopped
I tried to create a progressive and regressive counter to mark on what tag this stopped. Code el = document.getElementsByTagName('a') var x = 0, y = 0; document.getElementById('menos').onclick =…
-
1
votes2
answers560
viewsCenter a td according to width size
Good morning... I am creating an email marketing and it is responsive, ie the td are with float left and when decreasing the size of it it will fall one under the other. My problem is... when I…
-
1
votes2
answers163
viewsShow the after after after the Hover
I’m having a doubt, I’m developing a site based on a layout in PSD and the main menu, it has a Hover that makes an underscore kind of customized: I thought of putting as after and when I did the…
-
1
votes1
answer38
viewsHow to make when you have talks at the same time one of them goes up in files . vtt
I’d like to know if there’s any way to get one line to the top when two lines are at the same time, but not to do it manually, but automatically.
-
1
votes0
answers113
viewsHow to change the color of Navbar according to each section?
all right? So I’m having a hard time changing the background color of Navbar according to every Section I visit in Html with Scrollbar through JQUERY. Navbar is fixed. The code goes something like…
-
1
votes2
answers580
viewsHow do you use align-self?
I’ve used many alignments: center, left etc... but never align-self. How can I use it? I would like to see an application I use align-self.
-
1
votes2
answers382
viewsDetect stop() from Object Embed and return Alert()
To all, once again, I ask for help. I’m using a firefox with Mplayer Plugin What I want is to send an Alert to the end of a played video, that is, if the video player is inactive (stopped) to…
-
1
votes1
answer61
viewsDoes creating your own tags affect anything?
I am creating a web page creation system for people who have no programming experience, but the organization of the page is done through tags. For example: <conteudo> <artigo class="flex…
-
1
votes1
answer391
viewsbox-shadow css property
good evening, I created a css to validate my textbox and put the property box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); When I run the application the style is not applied in the textbox and the…
-
1
votes1
answer246
viewsHow to run a javascript referencing a button ID?
I need to run a javascript, plus I would like to do this using the ID of the button that clicked, Example: $(Document). ready(Function(){ $("p").click(function(){ alert("estou usando o P."); });…
-
1
votes1
answer2265
viewsHow to center an image using bootstrap in the bootstrap Navbar?
I have a big question on bootstrap, I created a Navbar using the standard bootstrap classes.... the problem is that I can not center a logo in the center of the navbar, works only the positioning…
-
1
votes2
answers146
viewsFixed Div with Fadein Effect
Opa, I got a div on the side sidebar_right, when scrolling the page it should go to the footer fixed, I am using so: $(function () { var jElement = $('#sidebar_right'); $(window).scroll(function(){…
-
1
votes1
answer30
viewsturn objects into a list when the resolution is less than X
I need to change a rendering to show a checkbox if the device resolution is less than X for example: show radio’s Buttons and if the screen resolution is less than X it becomes a select…
-
1
votes0
answers59
viewsZoom in via CSS
I want to zoom in on the website using CSS, I know using code body{font-size: 82.5%}; it is possible to obtain the result, however the images continue with the same size and elements inserted via…
-
1
votes2
answers68
viewsNew page in html
Let’s assume I have a site called site.com.br, and two HTML files. One called index.html, and the other sub.html. I would like to make sure that the index.html file stays on the site as just…
-
1
votes1
answer132
viewsHow do you make the iCloud dynamic background effect?
How can I do the effect of the login with the background as the iCloud when changing the size of the browser? If you repair the overshadowed objects change their position depending on the size of…
-
1
votes1
answer22
viewsbug Multiply Coins flip jquery
I’m developing a kind of old game, but there is an error that is getting in my way, I need the flip animation to work all the coins however, it only works at first ignoring the others.…
-
1
votes1
answer2709
viewsHow to maintain the aspect ratio of an image within a fixed size CSS div?
I’m having a hard time creating an image that stays inside a div, maintaining its proportions. But the div has a standard size and cannot exceed this limit size. Below I leave an image that…
-
1
votes1
answer3452
viewsAlign text at the bottom within a div
I’m creating a layout and distributing several <div> with the flexbox feature, someone would tell me how to do for the contents of this <div> that it will be a word, to be aligned to the…
-
1
votes1
answer59
viewsMenu Jquery does not open!
This is the page: http://www.magicforbaby.com.br/sobre.php Problem: When I’m at a resolution less than 800px (yes, I’m making use of media queries), i make the menu retracts in a default figure,…
-
1
votes1
answer443
viewsUsing @import in CSS
I would like to know about the use of @import to import style sheets within another style sheet, for example: Inside the archive css style.: @import url("css/layout.css"); body{ background: #F0F0F0;…
cssasked 7 years, 6 months ago Deivson Bezerra 149 -
1
votes2
answers773
viewsScroll according to Section ID
I got the following li <li class="madmaxmenu"> <a href="#mad-max">Mad Max</a> </li> and the following Jquery $("li.madmaxmenu").click(function() { $('html,body').animate({…
-
1
votes2
answers413
viewsProblem with @media query
I have a serious problem with Media Query, I am testing in this code and does not change the state at all, reduce the screen to the maximum and the colors continue without changing; HELP .box{…
-
1
votes2
answers1238
viewsMenu in two CSS columns
I have a CSS bootstrap structure. This menu it stays this way: I would like to divide into two columns, how could I do? There has been no change of normal bootstrap menu structure. Follow the menu…
-
1
votes1
answer1033
views -
1
votes1
answer3006
viewsCenter select text
How to center the text of a select? I removed the arrows down with the -moz-appearance: none; -webkit-appearance: none; But the text is on the side and does not center. It looks like this:…
cssasked 7 years, 6 months ago Lucas de Carvalho 6,427 -
1
votes0
answers54
viewsCluttered slide
I’m having a problem I’m trying to make a slide effect with java , only a problem is happening, the images I chose are getting out of place as you can see below , I’ll post the codes here who can…
-
1
votes1
answer2754
viewsHow to adjust the alignment of a <th>?
I would like to know how I do to adjust the alignment of a Table Heading <th>? I do not know if it is possible to do this procedure as it is done for <tr> or <td>. I want to be…
-
1
votes2
answers693
viewsTooltip Bootstrap 3 disappear when I click another
I have 3 tooltips. I want them to appear in the click, so I used the following: $('[data-toggle="tooltip"]').tooltip({ trigger : 'click' }); So when I click on the first one, for example, it…
-
1
votes2
answers200
viewsHow do I work with @media in css?
Greeting to all, I’m new to Frond-End programming, and I’m starting to learn how to work with @media to apply keying to a single page,? I created a responsive site when the page is more than 991px…
-
1
votes1
answer776
viewsError datepicker bootstrap calendar in bisex year
I’m using the datepicker bootstrap, and found that the 2016 calendar is wrong. Today for example is day 01/07/2016 Friday and the calendar is displaying as if it were Saturday. Can anyone tell me if…
-
1
votes1
answer631
viewsError converting HTML to PDF using Xmlworkerhelper
While exporting the HTML file to PDF using iTextSharp and Xmlworker error occurs in some situations saying that certain tag is not closed and searching found this post How to Convert HTML to Valid…
-
1
votes1
answer417
viewsIs there any way to insert events into the html element at runtime?
Imagine a single page input text, that is, a text field in the HTML document like this: <input value="digite aqui" type="text" id="el"/>. But I want to insert in this text field, through…
-
1
votes1
answer1373
viewsText area with image
Hi, I’m going to make a form and I don’t know how to include an image within the text area, something like that. TEXT TEXT IMAGE TEXT Something to include user know? How is done here in stack…
-
1
votes1
answer28
viewsWhy can’t you call CSS "pasted" classes
Why can’t I call classes "glued", like this: .div1.div2.div3 { blablabla; } That’s the only way I can do it: .div1 .div2 .div3{ blablabla } I’d like to know the difference.…
cssasked 7 years, 5 months ago Lucas de Carvalho 6,427 -
1
votes4
answers4653
viewsIcone in input with bootstrap
How do I add an icon from bootstrap in my input in this way:…
-
1
votes1
answer443
viewsHelp with placeholder that does not change color
Guys I really need your help. I am developing a website. So studying more precisely Html5 and css3 and I have a huge problem that I cannot solve... Here the format of the site in Codepen:…
-
1
votes1
answer306
views