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
votes1
answer350
views -
0
votes1
answer17
viewsMobile version responsive design working on browser emulator, but not on the device itself?
In the emulators of Chrome, Mozilla and Edge are working perfectly the view of mobile devices, but on the mobile phone it is not the same. I’m using the tag <meta name="viewport"…
-
0
votes1
answer71
viewsDiv does not respect width of img
I made a div with a border bottom similar to a fold of a page. I am trying to put a centralized image but width and height is not working. I thank you very much! :) CODE: .boxDobrado{…
-
0
votes0
answers225
viewsCreate custom CSS background
I’m having a hard time creating a CSS background like this : What I managed to do was 2 triangles "Gambiarra", but I wanted it to be a single object and also always aligned with the logo. Thus: As…
-
0
votes2
answers1289
viewsWhat kind of measure used when building a site for width, height etc...?
What kind of measure is used when building a site, type width and height. If it is pixel, percentage, point, centimeter ?
-
0
votes3
answers372
viewsWhat are these two dots at the beginning of a CSS URL?
I created a css sheet, linked to html to format it, after many attempts the code only accept formatting after I left it so: h1 { background-image: url(../img/sobre-background.jpg); } however I do…
-
0
votes1
answer47
viewsSticky menu with problem updating page in Firefox
The Sticky menu I made has a problem only in Firefox. If I update the page with the Sticky menu active, that is, when the scroll bar is not at the beginning of the screen, the menu goes back to the…
-
0
votes1
answer255
viewsFullpage.js + class="Section"
I’m using JS Fullpage to anchor the links, but each Section is 100% high, and sometimes it gets in the way of something in my css, which sometimes gets a larger font size or wrong position. I was…
-
0
votes0
answers72
viewsHow to "fix" Copyright?
Hello! I am with a doubt that I could not find on any site, or I did not use the correct words to find. There’s a template site that obviously provides templates, but when the guy removes the…
-
0
votes2
answers365
viewsHow to leave vertical line the size of the div
Well I wanted to leave the vertical line of '' the size of the main div, and the text is after the line, same as the beginning. .font-15, input, textarea, select, .container-head, .se-pre-con p,…
cssasked 7 years, 11 months ago Hugo Borges 5,294 -
0
votes1
answer109
viewsGrayscale effect on slide Carousel
Personal am I with a doubt anyone knows any plugin that do with this effect of my layout? I need the photos to be grayscale and only when she’s in the middle is the normal color I don’t know if you…
-
0
votes2
answers146
viewsHow do 'appear' effect on an element according to page scrolling?
I saw this video (link below) and would like to build an element that only appears when the scroll reaches the "point that touches it". I think it should be javascript. If anyone knew would be very…
-
0
votes1
answer68
viewsHover slider Effect with Jquery does not work
I am developing a web application using html,css,Jquery and put an animation like this in my application. link with example that as wanted in my application But when passing the mouse over the…
-
0
votes0
answers24
viewsMy custom player video controls does not appear in Firefox Fullscreen
In Chrome and Opera it does not give problem, only in firefox. When I click pro video get on fullscreen the controls bar disappears and loses the width. Code:…
-
0
votes1
answer48
viewsBlocked scrolling
Hello, I have the following problem, I have a code that is a slide that changes itself, but it was made to rotate in the background and when you put it on a page, the slide stays on the whole…
-
0
votes0
answers75
viewsHeight with min and max in percentage x auto
I have a div, and your Heightis at 90%, but if you decrease the height of the browser the content goes out of the div, how can I keep you from div? I thought I’d use height-min:auto and…
-
0
votes4
answers82
viewsDiv occupying all the height of the page
So guys, I’m developing a system here that opens a modal to edit some information... The modal opens a DIV background that only picks up the screen size, if I scroll down this div background gets…
-
0
votes0
answers31
viewsHow to create custom menus in wordpress that respect the drag and drop order
I’m having trouble creating menus on my wordpress site in case I have more than one menu that need to respect the order of creation, but never breathe, the menu is ordered by alphabetical order,…
-
0
votes3
answers2171
viewsUpdate page automatically?
I have a web site, and I constantly update. However after these updates on the server, the site does not update alone on devices/desktop, need to press CTRL + F5 to update. The problem is that not…
-
0
votes1
answer103
viewsTag with display: None - Asp net
I have some tags <h3>, <p> with display: none or empty (usually use to display messages or some div), when clicking on some system event, these tags appear: display: block or are filled…
-
0
votes2
answers124
viewsIs there a standard for Media Querie application?
I’m starting to learn now about Media Querie and I have a doubt I haven’t seen the answer. Is there any standard in the media querie application ? It is correct to have a media-querie.css file with…
-
0
votes1
answer1414
viewsReturn PHP outputs on the same page
I have a form which is validated via Javascript. It is working perfectly, it validates, sends pro .php and he gives me a echo saying it was successful. However I wanted this echo be given on the…
-
0
votes1
answer1204
viewsSoft anchor inside a DIV
I have a Onepage page, with the fixed menu at the top. I have already managed to make the links in the menu, when clicked, roll smoothly through the page. My difficulty is to do the same thing…
-
0
votes1
answer126
viewsdisplay content from another page using fancybox
I have a page with the names of various products and would like q when clicking on one open a fancybox with the details of each product. These details (name, price, etc.) are on another page and…
-
0
votes1
answer400
viewsClick and act, click again and return to position/ Jquery
I made a button to open a configuration screen, when I click open the screen, and the button changes from "Setup" for "Come back", until then beauty, but I would like that when it clicked again,…
-
0
votes1
answer45
viewsI can’t align the logo with the menu
in responsive mode it the menu icon aligns with the logo, but when it gets in full screen mode it gets below the logo /*----RESET---*/ *{ margin: 0; padding: 0; font-size: 100%; border: none;…
-
0
votes2
answers304
viewsReset all fields (input, textarea) of the html page
How can I make that through a button all the textarea of the page has its content deleted?
-
0
votes2
answers441
viewsHow to make an image fit the size of the div by the background-image: url(') using javascript or css.
I have a div which has size 200x300 and one which has 50x100, the 2 div will receive the background-image: url('') which the user informs, but he can put an image with size 1280x720, so the image…
-
0
votes1
answer46
viewsHow to align text with image
I’m creating a portfolio for myself and I’m trying to make the text straight as on this site https://blackrockdigital.github.io/startbootstrap-agency/# (in the area about) if you notice the text…
-
0
votes2
answers334
viewsIncrease the size of images in a virtual store
I wanted to increase these images of products, I was able to increase the size, but it cuts part of the image in width and it gets bad, the layout of the images is very close together. Does anyone…
-
0
votes1
answer164
viewsShow preloader icon on site
I have a login registration page that calls a registration confirmation page, in case the person has to open the email, pick up the code received and set this registration confirmation page. The…
-
0
votes1
answer57
viewsInclude de css in Ionic
I need to call a css block, depending on the condition, in an Ionic view. I’m trying to do with ng-include, but it doesn’t work. <style type="text/css"…
-
0
votes1
answer519
viewsIonic 2 - Custom tabIcon images do not appear on the device
I’m trying to put some custom icons (in svg or png) in my app tab, Ionic serves works smoothly, but when running on the device (android) the icon does not appear, I’m imagining it may be permission…
-
0
votes2
answers1254
viewsFavicon not showing
Good afternoon, I would like the help of the university, created a website and put a favicon in the same folder as the pages that call it, but the favicon is not being shown: <link rel="shortcut…
-
0
votes1
answer1187
viewsCompare 2 dates
I am trying to make this code work properly, but the same as I realized only compares the day because if it is larger than the current day works correctly, but if it is smaller than the current day…
-
0
votes2
answers285
viewsCSS alignment
I have the following panel: I’m trying to line up the charts inside the div from the class alinha-chart but without success. When I put one left: 33% and right: 33% it gets centered, but as…
cssasked 7 years, 10 months ago João Vitor 441 -
0
votes1
answer247
viewsHow to change the colors of a Jquery implementation?
Note the file below; https://jsfiddle.net/9ub9yk7t/1/ I’ve tried several ways to change the colors that belongs to the H3 tag from blue to red and I’m not succeeding, I can change the other things…
-
0
votes2
answers260
viewsHow to make @media print ignore @media max-width
I have a problem in my css that is generating a "mobile" layout at the time of printing, I have a @media max-width that makes my site responsive, however I would like to ignore it on @media print…
-
0
votes1
answer24
viewsReceive information on the home page
I have a PHP file where I receive data saved in firebase I can read the data but I have to open a Mozilla Firefox console to be able to read this data. I wanted to know how to read or print this…
-
0
votes1
answer200
viewsButtons positioned at the bottom of the page go up when the mobile keyboard appears
I am developing a responsive page that has at the beginning a search field and at the footer two buttons with absolute positioning, on mobile devices after clicking the input the keyboard is…
-
0
votes1
answer41
viewsObject loads in some cell phones and in others does not load
Good afternoon, my site is with the object below in line 12965: <script> var _cFieldFrame = document.getElementById("customFieldFrame_67"); _cFieldFrame.src =…
-
0
votes1
answer142
viewsInclude Sass in angular 5
What better way to set up SASS at angular 5, and there is some specific implementation to organize it in the project.
-
0
votes0
answers29
viewsWhen to use the ! statement
I am creating a site in Wordpress, and the theme set the font color for all pages. I wanted to change the font color in a textarea of the blog comments. I created a child theme and in the style page…
-
0
votes1
answer105
viewsError in HTML Slider
Hello! I have an HTML slider and I’m deploying PHP to make it manageable, however, when PHP came in, the slider stopped working. I believe it’s a mistake in the next part of the code: echo '<div…
-
0
votes1
answer1020
viewsIs it a problem to use two different versions of bootstrap?
Well I have a problem, I have a project in Ordova that was using bootstrap 3.3.7 however in this very I am passing everything to bootstrap 4.0.0, but I thought to leave the 2 in the project because…
-
0
votes2
answers112
viewsResponsive Site
The thing is, I’m having a hard time modifying a footer on my website. I’m using Bostrap to style the site, but wanted to leave the radapé in two columns on mobile devices. The structure of my…
-
0
votes0
answers32
viewsHow do I get the Firebase session id for my session?
if (user) { // User is signed in. var displayName = user.displayName; var email = user.email; var emailVerified = user.emailVerified; var photoURL = user.photoURL; var isAnonymous =…
-
0
votes3
answers109
viewsHow to determine what will be loaded in HTML?
I’m developing a page without the use of back-end, however, I want to upload a video as background using this code: <div class="test"> <video poster="img/videoposter.png" id="header-video"…
-
0
votes2
answers1109
views -
0
votes2
answers609
viewsChange bgcolor according to class
For now I do not have much knowledge in JS and I would like to ask a question... I need to change bgcolor according to the active class. For example: "if the 'active' class is bundled with…