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
-
0
votes2
answers477
viewsChange background with js
Well, I have an image for demonstration http://prntscr.com/8xu33k When a user clicks on one, the bottom of the body will change according to what he chose. But in this case the background is an…
-
0
votes1
answer1227
viewsHow to load a CSS file dynamically in jQuery?
I am developing a mobile application in HTML, JavaScript and CSS using the phonegap. I need to adjust / tailor the same layout of a page to both mode portrait how much for way landscape. My doubt is…
-
0
votes1
answer147
viewsTaking Off Scroll Bar Tabs
I need to remove the scroll bar that is in tabs, it generated a scroll bar and I want it to stay static how to do ? I tried to use overflow-y:hidden but it didn’t work. <ul id="tabss"…
-
0
votes1
answer686
viewsImplement slider for automatic transition
I took an example of a slider of a question here from the site. I want to know how I can implement it so that it transitions automatically, keeping it by the buttons. Follow the code: function…
-
0
votes3
answers1868
viewsHow do I pop buttons on top of my div?
Good afternoon, I have a div made with bootstrap and css and I want that when you hover over, appear two buttons right in the middle of this div. My idea is the following, I have several Ivs…
-
0
votes0
answers46
viewsGet full image colors
I wanted to know how to take the total colors of a certain image, I analyzed some code of some sites, and some use ajax (jQuery) to send the image to a PHP page, but I do not know what it contains…
-
0
votes3
answers436
viewsProblems Configuring Gradient in CSS
I want to put a background on the web page with gradient effect, but that’s the result I’m getting; This very ugly. I used this configuration in CSS; body { font-size: 12px; font-family: Arial,…
-
0
votes2
answers1089
viewshow to leave rectangular image?
I would like to know how to leave a news image for example in rectangular format, without losing proportion. I looked on the Internet and found nothing that could help me. Note that the image is…
-
0
votes0
answers89
viewsTag issues in CSS files in a JSF2 project
Greetings to all, I’d like you to look down at the image; You may notice that there is a blue top with a Horizontal menu, it is attached to this tag below in XHTML; <header> <div…
-
0
votes2
answers330
viewsDifficulties with slider and overflow:Hidden
I have a structure in HTML and CSS to make a slider, should work as follows: The images are next to each other, however, only one appears on the screen, and as the images will be next to each other,…
-
0
votes1
answer537
viewsResponsive css does not work properly
I’m having a problem where I’m making a responsive display where the desktop is getting over @MEDIA SCREEN and on mobile is not getting the responsive. .portfolio-modal .close-modal { position:…
-
0
votes2
answers287
viewsLightbox does not cover the entire screen
When I open the image in the lightbox, and I scroll down the page, it looks like this: Can someone help me? my code is as follows: html: <div class="mtlsr-images-for-lightbox"> <ul>…
-
0
votes1
answer595
viewsAutomatic height chat iframe
I’m developing a chat in php, it’s working perfectly, however, I’m having trouble putting the iframe for the main site where the client will have access, in the code it opens the iframe, but if I…
-
0
votes1
answer53
viewsMenu does not change width
I’m making a menu vertical and putting the color black as background. What I’m going through is I want to leave a fixed width of a 200px for each line of the menu, only it does not change. It leaves…
-
0
votes1
answer957
viewsHow to Style Current Page Navigation Link
The image above is a print of menu I’m developing that has the style I put right in CSS. But only when I pass the mouse above the link, that is when I do :hover which is what I was doing in this…
-
0
votes0
answers78
viewsCharacter Incompatibility in Sass ( 'IBM437' and 'UTF-8')
My problem occurs when I try to use the --watchas follows: --watch estilos.scss:estilos.css My goal is to perform the automatic compilation the moment I save the file. The error that appears in the…
-
0
votes1
answer187
viewsModify HTML element via Jquery functions
<div id="post-0" class="col-md-8 single-publicacoes"> <div class="index"> <div class="index-thumbnail">[IMAGE]</div> <div id="index-mascara">[EFEITO]</div>…
-
0
votes2
answers675
viewsFold transition effect with CSS
I’m using the code http://codepen.io/rsvaz83/pen/aORzBy below to create a fold transition effect on a button, but I can’t avoid the white background that is in the top left corner of the button.…
-
0
votes1
answer64
viewsThe Site disagrees on the responsive
Well, inside the body, I put two Boxs, col-Md-6, with a 1px edge, but one was next to the other, and it was not meant to stay, then I put a margin-left of 28px, in the two Boxs on my left side of…
-
0
votes1
answer1422
viewsOverlay a static image with the webcam image
Well, it’s a simple project, a "website" which accesses the web cam, captures the image and sends it to a server. I was able to implement the web cam with the following HTML5 javascript code:…
-
0
votes0
answers79
viewsVolume controller
I have a script for the controller, and it sets a value, and this value I wanted to put as volume. Is it possible to do this? Below I will show where I want the value to be: <script…
-
0
votes1
answer2080
viewsChange the background-image of the div according to the banner image
I need to create an effect on my slideshow that for each image displayed in the slideshow the background of div class="banner-backg" change the background-image. For the slider I’m using the…
-
0
votes1
answer50
viewsTurn multiple css files into a single one with Postcss
I use Postcss to generate a css framework, I can use it in a good way, my only problem is the output. If I have 8 CSS files Postcss generates me and treats the 8 in new 8 files, but the ideal for me…
-
0
votes1
answer84
viewsFont changing from Weight
I am making a website using bootstrap and was doing the code normally, my client bought the source Pluto Bold and Condensed Light, and I am using them as webfonts. The problem is that the font gets…
-
0
votes1
answer380
viewsChange Bootsfaces theme
I’m trying to change the theme of a Bootsfaces application and I’m not getting it. On the site says I have to find a folder called less but I can’t find it. Customization of the Bootsfaces.jar Until…
-
0
votes1
answer519
viewsHow to calculate percentage in top css property?
I wanted to know how to calculate percentage in the top property. I searched in Google, but I did not find to my doubt.
cssasked 8 years, 11 months ago Gilmar Santos 1,371 -
0
votes1
answer1565
viewsHow to give opacity Hover effect in img’s?
I’d like to know how you put the Hover effect on the images of this site http://digitaltheme.co/html/admag/demo/index.php.…
cssasked 8 years, 11 months ago Gilmar Santos 1,371 -
0
votes1
answer889
viewsFixed div in browser footer
I’m needing to leave a div that would be a fixed "Buy" button in the browser footer. Leave it at the end of the monitor, and even if the scroll scrolls down, it remains in the same position at the…
-
0
votes1
answer169
viewsWhy does "background-size" make images have a serrated edge in IE?
I’m inserting some images with transparent background in an html page using the background-size feature of css, in IE these images are getting the serrated edges, how can I get around this problem?…
-
0
votes2
answers756
viewsSite home screen - structure
I want to define as the home page of my site an image that occupies the entire background, as follows: <style type=text/css> body { background-image: url("imagem.jpg"); background-repeat:…
-
0
votes0
answers192
viewsCSS Animation Is Repeating
I have a img on my page applying an animation when opening the page. Attr &.fundo-menu{ position: absolute; left: 0; right: 0; top: -500px; opacity: 0; margin: auto; width: 312px;…
-
0
votes2
answers188
viewsValidate input to receive value with point separator with jquery?
I need you to receive only values with this format (20.00) Solved <!-- apenas números--> <script> function somenteNumeros(num) { var er = /[^0-9.]/; er.lastIndex = 0; var campo = num; if…
-
0
votes1
answer76
viewsChartjs to Kendo-ui
I’m changing from the Chartjs to the Kendo-ui. (My company has the license) I’m having some trouble customizing the Radar Chart I’m trying to use. 1) Remove lines that divide the graph. The cross…
-
0
votes3
answers1629
viewsCreate a div that occupies 100% of the screen width?
I created a <div> but she’s not occupying 100% of the top I want to see: http://i.imgur.com/Wq6qsho.png she’s at a spacing around :( this is the code I used: css: .top-bar { position:…
-
0
votes1
answer80
viewsAnimation with Problem in Safari
A while ago I realized that in Safari animations work in a different way. For example, if we have a text inside a span and we want the hover the letters of this text diminish 1px, we put…
-
0
votes1
answer543
viewsWebview android does not load css image
I am loading an html page with a css in a webview, all files are local and are in the same folder. It’s working normally on my Motorola Moto X 2 device and on my Galaxy Tab 10 tablet, but in Galaxy…
-
0
votes1
answer98
viewsCSS margins using jquery-mobile
I’m not able to create margins using css on an html page using jquery-mobile when the header and footer is data-position="fixed". My example: http://jsfiddle.net/z2z7zjvL/ .ui-header, .ui-footer,…
-
0
votes2
answers191
viewsFull Calendar is passing the footer of the site
Enter the code here As shown in the image below, fullcalendar by clicking "more" passes my footer when in fact it should push it down increasing the page height, as with all other screens. Which css…
-
0
votes2
answers991
viewsHow to make the first 4 characters of a string smaller than the others
I did a search and couldn’t find a code to leave only the first 4 characters of a string with a smaller size. I tried this code: $str = "Códigos"; $str = strtolower($str); Only that I need to leave…
-
0
votes2
answers2569
viewsEdit theme in Wordpress
It is possible to edit a theme in Wordpress without affecting the structure of it, and add more features to the third party theme?
-
0
votes2
answers1495
viewsHow to put Auto Adjustable background?
How to Put Self Adjustable Fabric Background? I put it like this in mine body but when I enter the cell phone it keeps cutting the background, it only stays where it has element. body{ clear: both;…
-
0
votes1
answer272
viewsClear auto-refill of Asp.net mvc forms
I have a sign-up screen where I noticed that when the user lets the browser save the cache, when it will fill always comes a list of information that has already been typed, I would like to clear…
-
0
votes1
answer177
viewsProblems centering slideshow
I want to center my slideshow, only when I put the style margin: 0 auto does not centralize and this happens: CSS code: .slideshow { width:100%; max-width:980px; height:auto; margin:0 auto; } .slide…
cssasked 9 years, 2 months ago Gilmar Santos 1,371 -
0
votes1
answer80
viewsLinks and Scripts not found with CI-3
I put my header and footer inside a briefcase templates which is inside the folder views, when I try to load the CSS the browser returns the erro 404 - not found, but I am following according to…
-
0
votes0
answers281
viewsIncrease the size of the Select2 plugin combobox
I need the plugin Select2 combobox (https://plugins.jquery.com/select2/) above is with the same effect of the combo that is below according to the image, that is, increase the width size without…
-
0
votes0
answers65
viewsTurn CSS rules into abbreviated rules using PHP
Having a CSS file would like, using PHP, to change a line by joining the rules that can be abbreviated. For example in this code: margin-top: -2px; -> abreviável para MARGIN padding-right: 40px;…
-
0
votes1
answer36
viewsimage moves when the scrool goes up or down
I have an image inside a table. I want this image to move when going down or up with the scoll. I’ve already used the position Fixed. My jsfiddle example: http://jsfiddle.net/3n4Df/88/…
-
0
votes1
answer445
viewsPop-up with video for website
I have a normal site and I need that when I enter it have a pop up with a youtube video. A normal pop up with a close button. Can be done in html/css or with javascript or jquery
-
0
votes1
answer2645
viewsDisplay div according to screen resolution
I have the following CSS script: <style type="text/css"> @media screen and (max-width: 600px) { .comp { background-color: #000000; display: block; } } </style> <div class="comp">…
-
0
votes0
answers39
viewsRandomization of IVD classes in Google?
Today I entered Developer Mode on a Google website from Chrome by pressing F12 and I noticed that the classes of divs are totally different compared to what you’ve seen before. Usually a name is…