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
-
2
votes1
answer84
viewsOpening a full size Table
Well I have the following doubt. I have this table in my project. The user complains about the size because the scrollbars appear, as the page already has a lot of information can not increase it…
-
2
votes1
answer187
viewsScroll based loading bar
Hello! I wonder, if anyone has ever done or seen on any site, a horizontal bar at the top of the site, example the youtube loading bar, but it increases and reaches 100% when it is rolled to the…
-
2
votes1
answer257
viewsforeach using css3
So I have a div with 3 imagens <div class="pai"> <img src="1.jpg" /> <img src="2.jpg" /> <img src="3.jpg" /> </div> I would like these three images to run from right to…
-
2
votes1
answer1294
viewsDiv below another - fixed menu
I’m creating a fixed menu and I’m in trouble. When I place the position Fixed in the div of the menu the div that was below (content) "goes up", so part of the content is hidden in the div of the…
-
2
votes1
answer68
viewsPositioning of div over Slideshow
I have the following page: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Slider</title> <meta name="viewport" content="width=device-width">…
-
2
votes2
answers3746
viewsChange background color div
I’m trying to change the background color of div with the classes wrapper row-offcanvas row-offcanvas-left , but I’m not getting it. Would anyone have any idea how to do?…
-
2
votes1
answer39
viewsImage on top of links
Good afternoon, you guys. I made a navbar and in the center put an image, only that in that image is on top of the links in the navbar, already tried some things like z-index but no objective…
-
2
votes1
answer54
viewsPage content escaping from the parent element
I’m making a simple website with the following structure: <div class="front-page"> <main> <div id="hello"> <article> <header class="post-header"> <h2>Título da…
-
2
votes1
answer1069
viewsOpen dropdown over the div
Hello, I have a dropdown made with ui-select, which does not open above the rest of the site. as you can see it opens only up to the limit of the div I’ve tried the examples I found on websites.…
-
2
votes2
answers52643
viewsHow to make a background image fill the entire screen without losing image resolution
I have a part on my site where I need to put a background image occupying the entire screen, both wide and high. I managed to do this with css. .intro { display: table; width: 100%; height: 100%;…
-
2
votes2
answers2375
viewshow to insert an image by css?
I want to insert in my style.css file an image that is inside the images folder that is inside my Assets folder. what path I have to describe to reach this directory?…
cssasked 6 years, 6 months ago user111919 -
2
votes2
answers1021
viewsSpeaker responsiveness in Bootstrap
I have two rows with two columns, the first column of the first row has an image and the second column of that row has a text. The second line has a text in the first column and an image in the…
-
2
votes2
answers113
viewsHow to use before in CSS?
The image below shows my expected result. In fact, I would like every time I instantiate the tags H1, H2, H3 in html, to come up with this outline below the title. I was researching something…
-
2
votes1
answer37
viewsLinks do not align on each div in a footer
Hello! In the development part of my site (in HTML5, CSS3), I came across a problem in the links of the Footer sections, which both placed within tags div do not align vertically below each section,…
-
2
votes1
answer54
viewsProblems to filter table contents using <select>
I have a select with the genres "Male" and "Female", when selecting one of these genres, is shown another select with sports modalities and each of these modalities prints a table. I am beginner in…
-
2
votes3
answers1911
viewsLeave label side by side , bootstrap
People have difficulty leaving the Name and Subject side by side , simply will not…
-
2
votes1
answer362
viewsHow do I split items and different sub-crops on the same page?
I wanted to divide some items into different subpages, an image of an example. For example, if I click on button 1 he shows the element 1, if I click on button 2 he shows the element 2, but all this…
-
2
votes1
answer32
viewsbackground-color hard to find
I have the following website Slide Show In it, there is (only) one slide show. In the navigation part, there is a Nav tag that has a background :rgba (0,0,0,.5) And has two buttons with an image as…
-
2
votes1
answer719
viewsImage exceeding grid bootstrap size
I set a grid and inside I played an image, that image needs to have a height of 150px, so I set it to height to it, the problem is due to the fact that the image is exceeding the grid, I do not want…
-
2
votes0
answers1173
viewsHow to Create frame with text in the middle of the page?
How do I create boards equal to these , also with a little transparency ? I was kind of doing this basic job.…
-
2
votes2
answers3642
viewsChange color of the icon after clicking or Hover input
I would like as soon as I click the input to change the color of my icon My form <form method="post" id="form"> <div class="input-wrapper"> <div class="icone…
-
2
votes1
answer2042
viewsAdjust DIV size to content
I’m working on a chat for a site, the chat is Ok, but as always catch to configure the CSS. I want to adjust the DIV to the content size and put, only the DIV occupies 100% of the width. .div-chat-i…
-
2
votes1
answer554
viewsHow to make a footer (footer) stay fixed after the Parallax effect?
I have this image and I would like to have an effect equal to option 3 (three) of this image, follows: DETAIL: could be option 2 (two) only I do not want the footer to pass to the area of the screen…
css twitter-bootstrap front-end layout backgroundasked 6 years, 6 months ago Rafael Souza Calearo 191 -
2
votes4
answers2967
viewsHow do I put the background on the full screen, CSS?
The image does not take the whole screen, I tried to put width and height, but continued the same way the image appears on the page. HTML <!DOCTYPE html> <html> <head> <meta…
-
2
votes2
answers104
viewsTurn the side bar menu into a fixed menu
I have a little problem that for who knows should be relatively simple, but being a little new in the Front branch I’m having some problems, is the following, I need to make a site with a fixed menu…
-
2
votes1
answer32
viewsLittle doubt about Buttons
Good morning I wonder if there is any way to take this blue line around the image, the image and a button…
-
2
votes2
answers17697
viewsSet width of <tr> or <td> in HTML5
I need to set the width of a column in a table, but the width (inline) HTML5 is not supported, according to documentation: HTML Tag In this case, it cannot be done inline ? What options ? As in…
-
2
votes1
answer2484
viewsText aligned in the lower right corner of the screen
How to align two texts in the bottom right corner of the canvas in css, one in each row, example: IVP Inventory Variant Position IVP centered just above the meaning, but both in the lower right…
-
2
votes1
answer421
viewsHow to overlay floating div on other elements of the web page?
I am creating a new plugin bookmarklet which will apply on any video page of Youtube, where I have to add a div floating in the body, thus doing the appendChild in the GIFT. However a fault is…
-
2
votes0
answers83
viewsChrome Auto Complete fills wrong fields
I have a WEB application that queries dynamically using SQL. After the Chrome update, all system inputs are coming with the user name already filled in. Example: value = 'SUPERVISOR' value should be…
-
2
votes2
answers1312
viewsHow to select one element within another with CSS?
I have a Wordpress theme that, when running, generates the following code: <div class="wpb_wrapper"> <article class="icon-box11"> <i class="fa-shield" style=" font-size:3em;…
cssasked 6 years, 6 months ago Italo Rodrigo 4,344 -
2
votes2
answers72
viewsHTML and CSS responsiveness error
When I minimize the screen, the photos stay outside the block, follow the HTML and CSS code <!DOCTYPE HTML> <HTML lang="PT-BR"> <head> <title>Cartola dos Amigos</title>…
-
2
votes3
answers426
viewsHow to Take "resize" from a textarea?
< script src = "//cdn.tinymce.com/4/tinymce.min.js" > < /script> < script > tinymce.init({ selector: 'textarea' }); < /script> <div class="form-group"> <div…
-
2
votes1
answer557
viewsHow to put background image?
How do I put a picture in the background of my website? It’s not working. HTML <!DOCTYPE html> <html> <head> <title> Praticando #1 </title> <meta charset="UTF-8">…
-
2
votes0
answers64
viewsOrganization of tables in css
*I have a problem in my code that I’ve been trying to solve for hours I’m going to leave an image to explain better, I want to leave it aligned with the other bars. <!-- ***** Contact Area End…
-
2
votes1
answer437
viewsAligning objects on the screen using bootstrap
I have this code that I found on the internet that works as a Dashboard, but I can’t align the objects the way I’d like The code: <div class="row"> <div class="col-xs-12 col-md-5">…
-
2
votes3
answers888
viewsHow to make an image with link appear a text
I need to make a code so that a button (which is an image) when I move the mouse the image will go up and a text descend (name of the image icon), already tried to leave the button with opacity(0)…
-
2
votes1
answer689
viewsHelp - site one page scroll
Good night! I am developing a site one page scroll, I am currently developing the contact form, but when the page gave up the form the menu is in front of the form. And When I click on the form to…
-
2
votes3
answers56
viewsCut word with CSS
I have the following div. <span class="credit-font" id="valYearCD">2036</span> I need the content from within 2036 to be reduced, and whatever content appears within that div, show only…
-
2
votes2
answers85
viewsReplace a div when arriving at a given input
I’m making a form where the user should enter the credit card details. When informing appears in the div above, but when you arrive at a certain input (Security code) I want you to hide the div from…
cssasked 6 years, 5 months ago Lucas Granvilla 444 -
2
votes2
answers2299
viewsMake all LI to the height of the largest using CSS
I have some elements <li> that I guide to stay inline-block. However, as the content of each <li> it’s different, they end up getting DIFFERENT HEIGHT. Kind of like this: However, the…
-
2
votes6
answers4771
viewsHow to use Materialize side-Nav?
Good morning, I’m trying to make a responsive menu for my portfolio, I’m using the do materialize but when I put it fixed the side-Nav of the mobile version Uga, it gets all dark and not to click on…
-
2
votes3
answers215
viewsDynamic background in relation to div
I am doing an exercise that is necessary to create a website for an advertising agency. I did everything right but I’m having a lot of difficulty with a feature. I want to pass the mouse about a…
-
2
votes3
answers368
viewsHow do I switch to switch to css?
I have two CSS files for the same HTML and would like to use a switch button to switch styles. The idea is to assemble a keying "standard layout" "new layout". I tried it, but I didn’t succeed.…
-
2
votes2
answers209
viewsWhen triggering an event in an array element (with querySelectAll) trigger only one element of another array (also with querySelectAll)
In the code that follows below, I would like to pass and remove the mouse (mouseover and mouseout) about a li, the change was made only in the item corresponding to that li, in the case, the tags a…
-
2
votes2
answers509
viewsCSS3 Adjust table to fill blank space generated on Landscape page
I have a report that is mounting in css and occupies A4 landscape size and I would like the tables to fit to always occupy all the space of the page. Image as ta: Space it should occupy css:…
-
2
votes2
answers225
viewsLoading in css does not work in IE11 and Edge
Well I’m mounting a css loading, but it’s not working on IE11 and Edge. Follows the code: .loading { background-color: #EEF2F5; position: fixed; left: 0px; width: 100%; height: 100%; z-index: 1000;…
-
2
votes1
answer4477
viewsHow do I put the div at the top of the page by tapping right at the top
Well, I have the following code: <style> body{ background-image: url("imagens/fundo.png"); background-repeat: no-repeat; background-size: cover; } .logo{ margin-left:10%; } .linha1{…
-
2
votes3
answers881
viewsIs it possible, in CSS or Javascript, to leave a color of a transparent image?
For example, we have this boat: <div> <img src="https://cdn2.vectorstock.com/i/thumb-large/94/56/lifeboat-vector-3669456.jpg" > </div> In this case, I want the white color…
-
2
votes1
answer332
viewsHow to standardize vertical box size with CSS?
I have the following CSS: .course-content { padding-top: 22px; padding-bottom: 30px; } Inside the PHP loop, I search the database records. Stay that way: With this, I noticed that it got different…
cssasked 6 years, 5 months ago Sr. André Baill 6,946