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
answer108
viewsHow to modify :Hidden elements with jquery?
I use Bootstrap Carousel and need to modify the margin-top of a title, but when the content div is :Hidden, I cannot get the text height with jquery. Follows the code: $(document).ready(function ()…
-
1
votes3
answers2423
viewsHow to break line between CSS tags
I would like to know how to break the line between tags of the same type Ex: I have several Abels and I want to break the line between them, but in a way that I do once for all
-
1
votes2
answers9302
viewshow to make a div float on another div
I’m trying to make an interface similar to the Whatsapp web which has a green header and a gray background where the conversations box is contained on this gray background and the green header. The…
-
1
votes0
answers55
viewsDo single quotes have double quotes difference?
I wonder if single quotes '' has double quotes difference "", so much on the PHP how much in the div
-
1
votes1
answer514
viewshow to vertically align a . btn(bootstrap) button inside a Fixed top Nav menu?
#nav { background-color: #888888; } #nav h3 { margin-left: 3em; } #nav-right { display: table-cell; } .btn { height: 100%; } <div class="fluid-container"> <div class="row navbar-fixed-top"…
-
1
votes1
answer3922
viewsError: Cannot read Property 'style' of null
I am doing a work in html, css, javascript and ajax and the goal is to change the style of the tab with the sensor name id when it is clicked, but it says that the element does not exist and I…
-
1
votes1
answer257
viewsCSS Display image in certain scroll position "Y"
Good evening, I have a question in CSS I am trying to make a parole in css, similar to this below: @media only screen and (max-width: 480px) {} This conditional performs a certain action when the…
-
1
votes2
answers144
viewsElements after the Hover Selector
Sometimes I see some css codes where the Hover selector is used as follows. Someone knows how Hover is being applied this way? elemento li elemento img{ } elemento li elemento:hover img{ }…
-
1
votes1
answer622
viewsIncrease space between words to occupy the width of the div?
I have a text that I would like to "stretch", that is, leave spacing between letters until the end of the div, is there any way to do it? A div must have height static. I can use both Jquery as CSS.…
-
1
votes1
answer1227
viewsHow to overlay CSS styles without interfering with another previous CSS?
I am implementing a high contrast mode, and for that, I am using the following structure: To draw the high contrast: <li><a href="#" class="seleciona-estilo"…
-
1
votes1
answer60
viewsHide a div when another one shows up on the screen?
I’d like to hide one div when another appeared on the screen. The div I intend to hide has position: fixed, In other words, the scroll accompanies the page, however, the footer has a similar part to…
-
1
votes2
answers1324
viewsParallax effect is not working on mobile
I’m developing a new website here from the company http://teste.softlove.us/ And everything is working (effects and sizes), I’m using Bootstrap and jQuery, except in mobile that in Home and About Us…
-
1
votes2
answers84
viewsHow do I disable the resizable area of a textbox?
I’m not a front-end language enthusiast, but in one of the examples I was testing, I was left wondering how to disable the resizable property of a text area. I know I can resize a text area by…
-
1
votes1
answer547
viewsWhy does the "container" class in Bootstrap leave side spaces on the page? Is that normal?
Because the class "container" Does Bootstrap leave side spaces on the page? This is normal or am I forgetting something? I also need to know how to change the height of each Row, because I tried to…
-
1
votes1
answer695
viewsHow to change the style of an element in an iframe from the parent page?
I use a component that generates a iframe accessing a remote page. Example: assuming that no iframe there is a table with some TDs with class destaque, want to put a red border on these…
-
1
votes0
answers31
viewsCSS Ionic 1 works correctly on Android, but not on iPhone Osx
My layout, a few things on it, works great on Windows Android. Switching to Mac Osx, creating the project and copying everything. When I spin like ionic server or ionic server --lab Both are without…
-
1
votes1
answer178
viewsDemystifying the Veritcal-align... on which display does it work?
No, the question is not repeated... In other questions, I saw gambiarras to align the text vertically using margin, padding, etc. And saw as a possible solution, change to display:flex,…
-
1
votes1
answer57
viewsMaking None float is not working
I have the following form: <form id="formFrete" action="?" method="post"> <input type="hidden" name="acao" value="calculaFrete" /> <div style="float:left;"> <label…
-
1
votes1
answer54
viewsbreak automatic line with database data
Hi, I have a ul with li's who are named after products. It turns out that when I change the resolution to mobile, for example 320px, so if the name of the product is big, then it won’t fit inside…
-
1
votes0
answers46
viewsPerformance impact using mixins in a CSS grid system
Suppose you want to build your own grid and that unlike the one found in Bootstrap, you want to do something semantic. For this you write mixins with the syntax of SCSS. Let’s assume you have…
-
1
votes1
answer207
viewsChanging a PHP variable at the click of a button
Currently I do a search using my code I pick only the first page, to change the results I have to do it manually, as I can change the $page variable with the click of a button. My code: <?php…
-
1
votes2
answers138
viewsDoubt in CSS, placeholder
I have this following login page: https://jsfiddle.net/rafael_breno/qzkgqt9h/ It’s as simple as I expected, but when I enter any information in the fields(input), the placeholder goes back to the…
-
1
votes2
answers256
viewsTable take margins in media print
I have a table and I’m trying to take her margins at the time of printing with media print, however I’ve tried: margin: 0 0 0 0 !important; padding: 0 0 0 0 !important; And nothing works and I need…
-
1
votes1
answer540
viewsHow to leave the header from a fixed menu
I have the following menu: How do I stop when I click on some link it open the content under the menu, always leaving fixed ? <!DOCTYPE html> <html> <link rel="stylesheet"…
-
1
votes2
answers38
viewsHow to configure URL to center object
I made a navbar that when clicking an item it redirects to the same page for a div that has the attribute id, but the site is navbar on top of the text <li> <a…
-
1
votes1
answer41
viewsProblems with the responsiveness of a retractable menu
How can I format correctly so that the menu that is horizontal on your full screen, stand upright and show the sub-menus correctly? Follows code. <!DOCTYPE html> <html> <link…
-
1
votes1
answer25
viewsOptimization of Hybrid Applications
can during a scroll of a list with many elements, render only the on-screen, by means of a check of the current scroll movement that cancels itself and creating a parent div that has its height,…
javascript css ionic apache-cordova phonegap-buillderasked 7 years ago Frederico Guilherme Klser de O 13 -
1
votes1
answer145
viewsHow to remove dark part on the sides of the bootstrap Carousel
I’m making a scrolling system for shows some tables using a Carousel, but the same by default gets a darker shade on the sides and even on the table itself, as it is possible to remove this color…
-
1
votes1
answer510
viewsHide div in materialize css
Does anyone here use materialize css ? know if there is any way to hide the column of a table through a css class ? in bootstrap have to do this using that class="Visible-Xs" went in Docs and did…
-
1
votes1
answer1783
viewsCan I disable a div using css?
So I created two div inside each other and my idea was this: I wanted to leave a div inactive, and when I leave the mouse on one, the other appears. The command I used for this is opacity: 0; to…
-
1
votes0
answers41
viewsDo Anchor tags not work within figcaption:target?
I did an animated menu on CSS3 using the tag figure, where I inserted an image with the link I used as id in the tag figcaption. Within figcaption is my list of links listing to access other pages.…
-
1
votes1
answer54
viewsWhy can’t I do the grid system on my php page?
I’m starting a project for the university and I can’t do the grid system in the main content tag. I’ve been trying for a long time! I can’t implement the grid! This is my code.. ` <img…
-
1
votes0
answers145
viewshow to add a div with information above the navbar with background Carousel
I’m having a difficulty that although it seems to be simple but I’m not getting where I want, I’m creating a site where I have a div with the language card, in the middle of the logo and a…
-
1
votes1
answer257
viewsImport CSS files with SASS
I’m starting in SASS and I’m trying to make a CSS file that will be a combination of several plug-ins that are in format . css (bootstrap, fontawesome, etc.) and for that I’m using SASS, but it’s…
-
1
votes1
answer336
viewsPhrase with different HTML5 formatting
What is the best way to write a phrase code that contains several font formats. EX: This phrase (bold and blue color) that I am writing of example (Italian not bold and red color) contains in…
-
1
votes1
answer247
viewsHide image from a button
I have an ngfor of buttons with certain images, but I want that image to appear initially with the black color and only when clicking on the image appears the image. What would my class look like in…
-
1
votes2
answers2635
viewsFixed menu after scrolling
I want to get the menu fixed after certain scrolling, <script> $("document").ready(function($){ var nav = $('.menu-topo'); $(window).scroll(function () { if ($(this).scrollTop() > 150) {…
-
1
votes4
answers554
viewsCorrect CSS Div > li > span
There is a part of my code that I am not able to change the css. <div class="AlterarCSS"> <ul> <li>Nome - <span>Endereço Site<span></li> <li>Nome -…
-
1
votes2
answers4924
viewsHow do I use HTML or CSS in Android Studio?
I would like to know how to structure my app with HTML, and style it with CSS as well. I want to put a fieldset to form a table. I looked for tutorials on the Internet but did not understand well…
-
1
votes1
answer96
viewsAnimation with Animate css3
I’m putting together an animation with the Animate css3 .img-minibox{ height:auto; max-height: 200px; overflow: hidden; } ul{ list-style-type: none; margin-left:-40px; } ul li{ float:left; }…
-
1
votes0
answers295
viewsUsing "in" (or "rem") unit for responsive layouts
Reading some CSS articles on responsive layout I managed to understand some new "concepts", but some applications were still a bit confusing for me, which is the case of the use of em (or rem) to…
-
1
votes1
answer2925
viewsHow to leave DIV "Responsive"?
I know almost nothing of the, diagmos, "Advanced" of the CSS! So I wanted to know how to leave one div well Responsive for users MOBILE. So here’s the deal: I’ve got divs with some footage, and some…
-
1
votes2
answers397
viewshow to make this 728x90 pixel banner code responsive?
This is the banner code of an affiliate program, size 728x90 pixels. I put him on the blog but on mobile the banner is getting cut, could help? <!-- Começo --> <script…
-
1
votes0
answers109
viewsPhp page counter or javascript
Well, I’m not being able to use CSS @page to count the pages when printing, someone knows a method? <style> @page{ counter-increment: page; } .totalpag{ content: counter(page); }…
-
1
votes0
answers21
viewsHow do I authenticate the user when they like the page on Facebook?
I wonder if it is possible to make the user have access to the site from the moment he likes the page on Facebook?
-
1
votes1
answer254
viewsHelp with css menu
Guys I’ve put together a simple menu in css. But I have a problem. This menu is inside a div header that stays fixed on the screen. So if the menu has a lot of option it is not possible to select…
-
1
votes1
answer275
viewsDisplay preview link
Good evening, how do I create a preview link like facebook? I have no idea how to do that. If anyone can shed some light on where I start, I’d really appreciate it.…
-
1
votes2
answers85
viewsBootstrap is a CSS?
My teacher said that in his work all the aesthetics of the site should be done in CSS, a question: I can do in Bootstrap?
-
1
votes2
answers156
viewsSave after hiding a div
I use a Jquery code to hide a div, and I would like when clicking close it to save and prevent it from being displayed again to the user when the page is reloaded. $(document).ready(function() {…
-
1
votes1
answer844
views