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
-
3
votes2
answers1694
viewsWhat is the ">" CSS operator for?
In some css see the operator ">" : #panel_conteiner > p { color:red; } #panel_conteiner div{ padding:5px; margin:2px; } <div id="panel_conteiner"> <p> teste teste </p>…
cssasked 8 years, 11 months ago Guilherme Lautert 15,097 -
3
votes1
answer223
viewsTooltip with mouseover inside a column of a grid js
I have this grid: function CarregarGrid() { $('#gridConteudo').jqGrid({ colModel: [{ width: 80, name: 'COD_OPERADORA', index: 'COD_OPERADORA', label: 'Operadora', formatter: GridOperadoraFormatter…
-
3
votes1
answer101
viewsDoes anyone know how to assign an edge to a triangle made with css?
The code is this: div { width: 0; height: 0; border-style: solid; border-width: 0 40px 30px 40px; border-color: transparent transparent #007bff transparent; } <div/> I want to create an edge…
cssasked 8 years, 4 months ago Otavio Fagundes 978 -
3
votes4
answers63
viewsPositioning of li’s on the page
I would like to make my li spread evenly across the page width. How can I do this with css?
-
3
votes1
answer199
viewsHow to put 3 slides together in Bxslider?
I couldn’t do it myself, I wanted your help. I would be very grateful if anyone could solve this problem for me. This is my slide picture. This is my HTML code. <div class="main"> <div…
-
3
votes1
answer3408
viewsHow to do 'tremendous' effect with css
Next, I’m looking to get a css effect but I have no idea how to do that. The effect is "tremendous", when you click on an input for example, it shakes. Being more detailed, the input is there,…
cssasked 8 years, 3 months ago Gabriel Moodlight 85 -
3
votes2
answers525
viewsLeave options in menu total size
I am trying to leave the options of a menu that I have distributed according to the total size of the menu, I have been trying some possibilities, including in a post right here, but unsuccessfully.…
cssasked 8 years, 11 months ago adventistapr 5,498 -
3
votes2
answers781
viewsCan I run CSS commands in javascript? HTML
It is possible to execute CSS commands in javascript? For example, if I clicked on a button, its color would change?
-
3
votes2
answers1453
viewsas a tool to leave a FULL SCREEN slide
how do I leave a Carousel on bootstrap full screen for mobile devices because on the desktop it stays the way I want occupying the whole screen without leaving white space on the devices it does not…
-
3
votes1
answer456
viewsCheckbox value in Hidden input field
I have a problem with checkbox manipulation with jQuery. I have several fieldsets with checkboxs, and I want when the person clicks on a check the check value is added to the Hidden input of each…
-
3
votes1
answer6460
viewsEffects by clicking a button
I’d like to know how I can add an effect by clicking a button, I’m using HTML5 and CSS. I add an effect with :HOVER, that as soon as the mouse is positioned on button the background of it is…
-
3
votes3
answers12026
viewsVertical text with css (90º)
I’m turning a word document into html, but I don’t know how to write the text this way: Would anyone know how?…
-
3
votes1
answer2783
viewsCSS - Format a table
I have a table that has a very complex header and I’m not being able to style, the table rows have a higher height in the fields that have 2 lines, how can I fix this ? Follow the link from Jsfiddle…
-
3
votes5
answers2039
viewsHow to centralize information for all Tds by CSS?
I’m with a lot of <td> and need them centralized. I would like to do it by CSS, for example td { puxar por aqui. } That instead of putting align="center" in all tds. How to do this by…
-
3
votes1
answer224
viewsLeading vs line-height
I have the following problem in converting a layout, I have a list of names that has the following property (in the image below): I found some formulas like this Line-height = Font-size + Leading/2,…
-
3
votes1
answer473
viewsCarousel - thumbnail is not active when changing slide
I have a problem because I can’t leave the thumbnail enabled using css, leaves an image as example of quero and the code below. Thanks! jQuery(document).ready(function($) {…
-
3
votes1
answer151
viewsGulp Task - Compile Stylus for CSS
After a lot of fighting, I started making the page of my portfolio. I took the opportunity to use a few things I was learning, among them the Gulp and Stylus. For the construction of CSS I am using…
-
3
votes4
answers13696
viewsDisplay message and hide in a few seconds
How to show a notification when entering the site and disappear after a few seconds with jQuery? I tried something but I couldn’t. JSFIDDLE: http://jsfiddle.net/sunnypmody/XDaEk/ Code: <!DOCTYPE…
-
3
votes1
answer89
viewsNot working <th> text-align
My code that presents the problem and this: html: <body> <table class="default_grid"> <thead> <tr> <th class="opcao1">Opção 1</th> <th class="opcao2">Opção…
-
3
votes1
answer1005
viewsHow to make a horizontal line in relief?
Many sites use a kind of <hr> in relief, ex: For some time now I have been trying to do in hand without success. I also found nothing about it on the internet <div>…
-
3
votes1
answer63
viewsHow to transform the text of a div into lines with <p>
Suppose you have one div, and that it has an enormous text, and you would like each line to be transformed into <p>. How would it work? What I really want is, at the beginning of every line of…
-
3
votes3
answers1382
viewsHow to put a submenu, on a menu I already have?
I’m editing the blog, and I wanted to do a menu with submenus, but I don’t know exactly what makes it happen. I tried googling, but I got nothing. Only css tutorials appear, but nothing specific…
-
3
votes1
answer63
viewsReuse of code with web language
I’m working on three apps different ones that use Ionic and Cordova. The three are very similar at some points mainly in the layout. I wonder if it is possible to create a kind of library or…
-
3
votes4
answers27834
viewsRemove edge of button
I own a Jumbotron btn I can’t get the hover button (the blue rectangle), I have tried to disable all Tyles on Chrome console but it does not work. <button type="submit"…
-
3
votes2
answers93
viewsStylize elements at various levels above
I would like to know how to change the background of div#whatever by clicking on a li, as in the example below. (using css only) <div class="whatever"></div> <section…
-
3
votes1
answer82
viewsCSS renderiza tag BODY even without the TAG
I have an HTML file which I have defined as follows <!DOCTYPE html> <html lang="pt-br"> <head> <title>Prompt</title> <meta charset="UTF-8" /> <link…
-
3
votes1
answer740
viewsHide Scrollbar from div with overflow: auto
I have a div .content that groups all content of the site with the following css: margin: 15px 12px; background: #fff; padding: 20px; height: calc(100vh - 30px); overflow: auto; My body has a…
-
3
votes2
answers643
viewsSmooth serration in the gradient
I’m using gradient in CSS, but it gets a serration, it has some way to soften via CSS? p { background-image: linear-gradient(161.2deg, green 50%, white 50%, white); } <p>Gradiente</p>…
cssasked 8 years ago Samuel Souza 468 -
3
votes2
answers6364
viewsHow to make an element track the scrollbar?
How do I set my menu to scroll? I made a snippet to exemplify the code. I open the menu, when I scroll the page it is in its position. I want the menu to accompany the scrolling of the page. How can…
-
3
votes2
answers4336
viewsClear button radio button
Good morning I would like to know how to clean what was clicked on the radio button, because in the textbox I use the name. Clear(); I wonder how I do on the radio button Thank you.
-
3
votes1
answer52
viewsside menu with left margin
I have a div central and a div to put the menu. The problem is that it is with a left margin that I can not take out in any way. I believe it is due to the style of the UL.…
-
3
votes1
answer1569
viewsWhen clicking button, increase or decrease height of a div
I created a button inside a div (#divteste) and would like to click on that div button(#divteste) increase the height and click again on the button to decrease the height and if there is a way to…
-
3
votes2
answers331
viewsShould email HTML 5 still be done inside tables?
Hello, I’m making a HTML for email and, I realized that they are lately tabulated, but my question is whether that is still necessary. There’s some kind of risks if I do not do in tables and the css…
-
3
votes1
answer217
viewsSelect multiple inputs
I have the following doubts whether it is possible to improve this selection: #form-login > input[type="email"], #form-login > input[type="password"] {} Because if I have multiple inputs it…
-
3
votes3
answers4380
viewsHtml + Css FAQ creation
Good Afternoon, I just started evolving my html+css for creating web pages so someone can give me a hint on how to do what is asked in the image below?. Basically when we click on the area where the…
-
3
votes2
answers1285
viewsDivide diagonal mosaic in CSS
I need to create a menu with diagonal div that when you pass the mause above for color and each image contains a link to a different category. The problem is that I can’t create a diagonal div, and…
-
3
votes3
answers112
viewsDOM search for positive name and value
I need to search DOM for name and value. I’m trying to do it like this $('input[name=FLG_SEXOX_CLIEN value="{{ $cliente->FLG_SEXOX_CLIEN }}"]').attr('ckecked').trigger("chosen:updated"); However…
-
3
votes1
answer82
viewsPlace text pictures etc... in horizontal order
How can I put the component of Bootstrap Thumbnails in horizontal order? And how can I increase their size (with the image together) to a size I want? If you can help me thank you very much.…
-
3
votes3
answers7113
viewsRemove space between html list item
I have the following list: li { display: inline-block; padding: 20px; background: red; } <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>…
-
3
votes1
answer1690
viewsDatepicker is shown behind the modal bootstrap
I have a modal in bootstrap: <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close"…
-
3
votes3
answers566
viewsshow all options of <select> without scroll bar
I have a select that brings information from a JS, but this select is forming scroll bar and the options are not many and there is room for more options to be shown but regardless of what I try I’m…
-
3
votes1
answer3483
viewsHow to center a card panel in materialize css?
I have the following login form inside a card panel: What I could do to center my card on the page? This is the code I have so far: <div class="input-field col s12"> <input id="user_name"…
-
3
votes1
answer431
viewsText effect or paragraph loading
Hello. I’ve been watching it on several websites. Facebook, Dropbox and various frameworks that use css and js an effect that appears before the text is loaded. I hope you understand. Thank you…
-
3
votes1
answer243
viewsCreation of CSS Gallery
I’m trying to create a gallery that I believe is simple, but it’s giving me a lot of work and I’m not able to do it. I would like to know how I can do it and if you have any tips or useful…
-
3
votes1
answer369
viewsHow to do this with Javascript?
I’m still studying Javascript and a friend of mine introduced me a site that has a very cool effect on your texts. This is the site: (example site) As we can see, when the site loads, it gives an…
-
3
votes2
answers149
viewsWhy don’t these Ivs line up?
I have the following code snippet: .content-all{ height: 100%; width: 100%; background-color: yellow; } .content-descriptions{ height:120px; width: 1020px; background-color: green; }…
-
3
votes1
answer594
viewsHTML+CSS Wanted to put a radio button as a symbol
Hey, you guys. I’m wanting to put the symbol Δ as radio button, and when I click on it, it flip that other symbol . How do I do this?
-
3
votes3
answers85
viewsThird IF ELSE
So, I’m a beginner in javascript and I was practicing doing a function that forces the scores of the CPF field function maskCpf(){ var c_char = document.getElementById("txtCpf").value.length if…
-
3
votes2
answers1156
viewsHow to do slow zoom/zoom effect?
Hello, I’m trying to make in Javascript a function that gives a zoom very slow in my image, ie increasing my background-size slowly, to give the impression of movement in the image. I tried to do…
-
3
votes1
answer850
viewsremove background from google Chart
Colleagues. I’m using Google Chart in a project, only when installing it in this project, it overlaps the div where it is. How would I put transparent the bottom of the Chart?…