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
votes2
answers303
viewsHow to make a page with full blocks using bootstrap?
I need to do something with the image, using bootstrap. Has anyone ever been through it? Have any idea how to do it?…
-
2
votes2
answers1238
viewsI can’t type in input
I’m having a problem on a Landing page that I’m developing. I’m not a professional developer and I’ve never had a similar problem. I can’t type in any of the inputs you have on the page. I saw some…
-
2
votes1
answer1178
viewsText alignment with css
I am mounting a div with a loading, the problem and I can not align the text below the image and in the center. The image is aligned as I want, in the center of the page. Can someone help me?…
-
2
votes1
answer857
viewsCSS Style input range
I need to do an input range for age group definition this way: I thought I’d do the "big" bar with this 20-by-20 fixed strip, or a non-standard bar like in this example, but I’m new and I don’t…
-
2
votes1
answer2244
viewsConfigure form for printing
I created a form in which when it is filled out, it should be printed out. However, when I print it all out without formatting. Can anyone tell me how to make the print out formatted? And how do I…
-
2
votes1
answer1629
viewsChange the header background of only one Ionic page
Has a project ionic and I need to ion-header-bar only one page has a different background than the rest of the application. Home () <ion-view view-title="Home"> <ion-content id="home"…
-
2
votes3
answers398
viewsDeclare Css for multiple identifiers
I have some Divs where your CSS are equal, but your identifiers are different due to Jquery. I need to simplify the repeating CSS. It’s possible? See that they’re all the same. <style>…
-
2
votes1
answer435
viewsRemove "scratches" from a textarea
I have a textarea and would like to know how to remove these "scratches":…
-
2
votes2
answers1663
viewsProblems with Font Awesome
Hello I’m having trouble with the Font Awesome, I am creating a page that I want to use the icons, I started linking the Font Awesome url, it shows the icons, then includes 2 more CSS files,…
-
2
votes1
answer206
viewsI’m having trouble loading bootstrap-js
import Vue from 'vue' import App from './App.vue' import BootstrapVue from 'bootstrap-vue' import 'bootstrap/dist/css/bootstrap.css' import 'bootstrap-vue/dist/bootstrap- vue.css'…
-
2
votes0
answers29
viewsDoes Important CSS weigh the site?
I would like to know this... Put put I have a project here that is being needed to use, (really necessary.). Someone would have some answer for that: Making it clearer, I would like to know if the…
-
2
votes1
answer1773
viewsHow do I place social media links to share a post link?
I have a question. I don’t know much about ASP.Net, but a friend of mine asked for help to implement some social networking buttons on his TCC site. His TCC is a news portal, like any other. He…
-
2
votes4
answers4366
viewsHow to ensure an image is centralized and responsive
Good morning! I wonder how I can do with CSS so that an image is centered in a way that is responsive in all monitors.
-
2
votes1
answer90
viewsMask a div with css
On a site that I am developing the top (where the menus are) has a transparent background and is fixed. That is, the site runs behind this top and the top is always fixed. But as it is…
-
2
votes1
answer981
viewsDiv with height automatico dropdown menu
Hello, my question is this. Let’s assume this code <div> <a>teste</a> <a>teste</a> <a>teste</a> <a>teste</a> </div> This div is displayed…
-
2
votes2
answers783
viewsCSS - How to select the last sibling?
I have the following HTML structure: <form action="" id="form-contato"> <label for="nome">Nome</label> <input type="text" name="nome" id="nome" placeholder="Nome"/> <label…
-
2
votes3
answers5329
viewsHow to Remove Header and Footer with @media print CSS?
I’m using the @media print{} CSS to customize the page when printing, but I’m not able to remove the footer and header created by own browser. I know it can be removed by the settings of Browser,…
-
2
votes2
answers885
viewsHow to add an animation button to go back to the top of the page using the easings library?
The search for effects to add on a button like "Back to Top" found this jQuery library that uses the Transition CSS, SCSS and jQuery itself to make animations, but I couldn’t add them to the top…
-
2
votes2
answers1689
viewsChange the color of a word in a still-editing textarea
How do I make sure that every time the browser finds a "reserved word" in textarea, it automatically changes her color. I want to know to make a syntax highlight.
-
2
votes3
answers864
viewscss select only first level
I have a menu with up to 3 levels of nested lists. I need to select only the first level text and skip the nested content. I tried to use .menu > ul> li {} (and some variations of this) and…
-
2
votes3
answers2176
viewsQuestion how to increase input size according to div size using bootstrap
I am having difficulty increasing the size of my inputs using the bootstrap classes, I would like to leave them according to the sizes of my div for example, in a Row with 12 columns I create the…
-
2
votes1
answer394
viewsDivs side by side header
I want to put all the Divs in the header with relative position to adapt in all resolutions. It didn’t work using float on the Divs. <!doctype html> <html> <head> <meta…
-
2
votes1
answer1172
viewsHow to place an image next to each other in a gallery?
I am creating a gallery on my site using html and formatting in css, I put each image in a div and used the tag float so that in the gallery view one image would be next to the other. But this…
-
2
votes1
answer468
viewsHow to position a Span tag on the page?
I’m studying ASP.NET MVC 5 and I’m trying to create a page where, in the upper left corner, I would have a "Menu" button, I was able to create the button and action, but I’m having trouble locating…
-
2
votes1
answer10750
viewsWhat does >, :: , +, and & css sign mean?
I’m starting my internship and I don’t know the meaning of the following attitudes. Signal from > (larger) Because it’s used .classe-a > classe-b{} Two-point .classe-a::.classe-b{} Signal from…
-
2
votes1
answer444
viewsModelling Edge of an Element (DIV)
I want to know how I manipulate the edge of a div. The idea is to have a nice border Expand in the upper right corner of this element.That is, if the div has a 4 px square format on each side.I want…
-
2
votes4
answers676
viewsBackground gradient repeating itself
I’m setting up a website for myself, and I’ve defined the site structures (header, Section, aside, footer). However, I am willing to put a gradient background on the entire site. So I applied it to…
-
2
votes2
answers1172
viewsHow to make a button with Razor and Css
I’m trying to make a button on a particular page. However, my entire project started with the Razor engine, so I would like to know how I can make a button with such engine, I am trying to do so:…
-
2
votes1
answer716
viewsHow to switch between 2 style sheets?
Guys, I own a site that all the color of it is on gold and black. Some font colors in gold, gold logo, gold sidebar, etc... How do I stop, when I put one button on the side of my website, written…
-
2
votes3
answers2230
viewsCode to show screen resolution
I’m testing the site I’m creating on several devices to see the responsiveness, because I have 5 css one for each screen resolution and would like to create a code within a div that shows the…
-
2
votes1
answer791
viewsCSS configuration for matrix printer
Well, my problem is this. I’m developing a web system and I use ASP.NET MVC, I managed to generate a guide where the layout that I present is null. But I couldn’t set up the print correctly for a…
-
2
votes1
answer1500
viewsHow to insert specific fonts into the CSS?
My client passed specific fonts to a website. These are in TTF format. I’m used to using Google fonts and there’s no fonts there. How can I use these fonts in my CSS or HTML?…
-
2
votes1
answer117
viewsDifficulty Making a Different Shape
div { width: 280px; height: 280px; background: #1e90ff; -webkit-clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); clip-path: polygon(15% 0, 100% 0%, 100% 29%, 41% 49%); }…
-
2
votes1
answer566
viewsAlign image according to container using CSS
I have a banner registration that will have fixed sizes, so I want to add a qrcode that will be generated by the system in this image, along with the user photo. I have this situation :…
-
2
votes1
answer85
viewsDisplay link icon only according to screen size
On my pages, I have several links like the following: <a href="/Home/Index" class="btn-sm btn-success" role="button"> <i class="glyphicon glyphicon-home"></i> Home </a> It…
-
2
votes1
answer6089
viewsMove div down
I have 4 Ivs on my page, next to each other, as I can do, so that the last div is aligned left on the bottom line ? My Code: <!-- DIV 1 --> <div style="float: left; width: 100px; height:…
-
2
votes1
answer74
views<select> not working properly
I am facing a problem, which I did not find enough clear tutorials on the internet so I could learn how to solve, which apparently seems to be simple but I am not able to solve. The problem is to…
-
2
votes3
answers3228
viewsHow to change the CSS style sheet dynamically with Angularjs?
I’m having a problem with the customization of a CSS, Angularjs does not allow me to write a code snippet as follows: <style> .btn-n { min-height: {{botao.altura}}px; min-width:…
-
2
votes3
answers628
viewsMake html class appear and disappear by js
I have a registration page, and when the data is entered wrong, a alert(); reporting the error, but wish instead of being Alert, it was an error message just below the fields. I put a span with an…
-
2
votes3
answers49805
viewsPlace a div next to each other
I’m having a little problem with CSS, I wanted a div to side with each other. I’ve tried to float both, but if I do this the footer div goes up. What I do? #DivRodape{ position: absolute; top: auto;…
cssasked 6 years, 11 months ago user99595 -
2
votes2
answers158
viewsI can’t talk with specific class in css
I made a menu and now I’m trying to style a dropdown menu, but I’m not getting through to a of .dropdown-content. I realized that the .header-menu ul li a is hierarchically above .dropdown-content…
-
2
votes1
answer213
viewsBulma CSS Scrolldown Navbar
On the official website of Bulma CSS you can see that when you scroll down the page the navbar menu appears at the top. The Transform: translateY property inspected in the browser appears to be used…
-
2
votes1
answer169
viewsChange element color when clicked
I have this code, it shows 1 video when clicking on a table. Is it possible to change the color of the element that was clicked in the same way as with links? but with CSS? Example: video 1 color…
-
2
votes2
answers1834
viewsSelect option when clicking button
I have 3 buttons outside the form tag and when clicking on some of them, I need the value to be selected in select, follow image and code for better understanding: Buttons (outside the tag form)…
-
2
votes1
answer785
viewsTake an element attribute
How do I select the background color of the div element? Note: Using javascript var cor; cor = document.getElementById(id).style.backgroundColor; #bloco1 { width: 280px; height: 120px; border: 1px…
-
2
votes1
answer1014
viewsHow do I let table tds automatically increase or decrease the size depending on the number of characters?
How to leave the td of table increasing or automatically decreasing the size depending on the number of characters? To prevent the text from breaking line?
-
2
votes2
answers70
viewsI can’t place a list
Guys I’m not getting to position the list with id Sub1 using css, the other is positioning normal. I’m not getting to know why, someone can help me? Follow the code: <html> <head>…
cssasked 8 years ago blackbird312 417 -
2
votes3
answers657
viewsChanging the pointer on a bootstrap-datepicker
I own a bootstrap-datepicker, when I place the mouse on top of the calendar on the day or on the month navigator the pointer that appears is that of selection, similar to I, but I wish it was the…
-
2
votes1
answer3488
viewsWhen closing modal, clear search result done in the bank
I need to close and limparthe content of a modal. When opening it I have a search field where I perform a search in my bd, and by clicking the button enviar I close it by passing some parameters.…
-
2
votes1
answer122
viewsProgress bar in a cell of a table
I am making a calendar and need to make a progress bar of the time elapsed each day. I have assembled the calendar using HTML tables. How can I make this progress bar each day separately?…