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
answer61
viewsProblem to diagram Divs
Problem to diagram Divs favorite I need to go as green and pink Ivs under the dark and light blue, leaving a larger div next to all of them, but I don’t know how to work this in CSS. Someone can…
-
0
votes1
answer59
viewsIcons like the ones in boostrap
I would like to know how I can take an icon of mine, put it on the page, but if you want to change the color or size of the icon, I can do this... For example, in the Hover of a link, it changes…
-
0
votes1
answer97
viewsHelp positioning icone/view under image
would like to take a doubt of CSS/HTML,I will start a project in REACT NATIVE, and in the project I came across this layout objective: My doubt is, how can I put the icone (STAR) under the…
-
0
votes1
answer156
viewsHow to show 5 in 5 hidden elements?
I was struck by a doubt recently, by which I must manipulate a certain number of elements hidden through the display:none; that it is defined on the span that involves all of them. Example…
-
0
votes0
answers61
viewsMedia screen does not work with boostrap 4
<?php session_start(); // Inicia a sessão include_once("func/functions.php"); // Chama o arquivo de funções padrão. include_once("func/f_exames.php"); // Chama o arquivo de funções específicas.…
-
0
votes0
answers21
views"Drop button" only with information
Can anyone explain to me how I can find a tutorial on this? I look for "drop button" (which makes sense) but I can’t find anything related to this! is a link (<a>) normal: When you click on…
-
0
votes1
answer270
viewsHow to put a color on the tr of a Dynamically Selected Radio
Is it possible for the line color to change after the user selects a radio from the list taking into account that I am doing the page Ubmit ? the problem is that I am not able to do because as you…
-
0
votes0
answers257
viewsMaterializecss and conflicts with jQuery
I’m having a problem here using Materialize CSS and two versions of jQuery. I’m making a onepage site, and I put the Smooth scrolling Effect(I picked up on this site here >…
-
0
votes1
answer1787
viewsView and hide images with Javascript
I need help with the source code below: CSS: img { display: block; } Javascript: var total = 5; var numero = 1; function mostrar() { if (numero <= total) { var inicio = (numero - 1) * 1 + 1; for…
-
0
votes1
answer35
viewsLinks are not working
I have three links, which go to different pages, only the links Tape Location and Disk Location, nor change the effect when I hover the mouse over and do not go to defined page when I click, already…
-
0
votes0
answers41
viewsThumbnail of youtube does not take full size of div
Good staff! I’m having a problem, I’m using the youtube API to import thumbnails to my website, these thumbnails should take the size of the Divs, but no, they all have different sizes and titles…
-
0
votes1
answer39
viewsObjects change position when switching from browser
Can anyone tell me why when switching from browser, from Chrome to Firefox, the relative positions I gave in CSS change? Normally I use Chrome, but I tried it on Firefox and all the objects I gave…
-
0
votes2
answers137
viewsAdjust word inside the toggle
Colleagues, I don’t know if my title was clear, but here on the site I got a toggle, but I need to put the word Yes and Not within it. The word Yes I managed to put, but it was almost out of the…
-
0
votes1
answer81
viewsCSS or Jquery - How to leave an entire page with Pointer-Events: None; less such element
I want to leave everything inside the div .divGeral with pointer-events: none; minus the class .divnaomodificavel This is my code, below... HTML: <div class="divGeral"> <div…
-
0
votes4
answers71
viewsRepeat zebra style color only 5 by 5
How to make this loop repeat to have 5 numbers of one color and 5 numbers of another color? var collection = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]; var html=''; for (var i in…
-
0
votes2
answers2404
viewsHow to use Hover in one class to change another class?
Following people, I have a class and another class underneath it... but the bottom class needs to be invisible until the user hovers the mouse in the top class, so I put opacity in it:0 , and I…
-
0
votes1
answer62
viewsphp appears on my main page
I’m making my front page with my login, but I don’t know why PHP appears that I did. What I wanted to do was hide PHP. My code: <html> <head> <meta http-equiv="Content-Type"…
-
0
votes1
answer61
viewsYoutube videos on the website (audio only)
I need to create a radio for a client, where she will have how to choose what to play, for rhythms, singer, band, etc.. I was wondering if there is any way to capture playlists and videos from…
-
0
votes1
answer337
viewsError with custom inputs
Hello, I’m using a script to add input fields to a div: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script type="text/javascript"> //…
-
0
votes2
answers739
viewsAnimated arrow indicating rollover
How can I make the animated arrow from the homepage of this site? http://grouek.com/project/home
-
0
votes0
answers143
viewsMove a <div>
How could I move this DIV using javascript? function randomization() { var randomValue = Math.ceil(Math.random() * 5); return randomValue; } function playerMovement(direction) { switch (direction) {…
-
0
votes1
answer213
viewsContainer div height relative to page size?
How to leave the bootstrap div Container height(height) relative to page sizing? <div class="container"> <div class="row"> <div class="col"> its works! </div> </div>…
-
0
votes1
answer35
viewsDivs piling up
I’m trying to make a grid with 4 Divs of 25% width, but they’re not properly stripping, who can save me? I’ve wasted hours and hours on this! HTML OF THE PARTY: Buy your credit card certificate now…
-
0
votes1
answer167
viewsShow image below div on Hover
Good afternoon, I need to build an effect on a blog where when you hover over the pink div, it shows an image that’s at the bottom of it. But I need to show this image only in the area where the…
-
0
votes3
answers92
viewsAlign vertical giving error!
how do I make the image and link below align to the center vertically? The image and the online link, and this line, aligned vertically to the center (Middle) in relation to the div login I tried…
-
0
votes1
answer254
viewsGoogle maps does not work within the bootstrap modal
Hello, everybody. I’m developing a register that uses the Google Maps API to find an address and I’m trying to use it within a modal, but when I put inside the modal, it doesn’t show the map and…
-
0
votes2
answers142
viewsIs there any way for a form to inherit from _Layout.cshtml in c#?
I’m developing a website on asp.net c#, I have a contact page that contains a form for the user to fill and send if you want to send an email. I wanted the page of this form to inherit the…
-
0
votes1
answer58
viewsDoes anyone know where I can find material for per toolbar in a Textarea, to use with php in the posting area?
I want to put a toolbar in this style in a text area, to use for styling articles for posts, someone can tell me where I find material, or perhaps, already teach or send some code for me to analyze…
-
0
votes1
answer479
viewsInsert image at the bottom of the site
Hello! I am new to programming, and at the moment I am studying WEB DESIGN AND INTERFACE. I would like to know how to insert an image as background on the site, so that the "body" of the site…
-
0
votes3
answers351
viewsPut sub-menu under the right li
.menuAbrir, .menuFechar { display:none; } .menuPrincipal li { display:inline; position: relative; } .menuPrincipal li a{ display:inline-block; vertical-align:middle; text-align:center; width:115px;…
-
0
votes1
answer215
viewsSizes of Divs ( Width and Height ) with Relative and/or Absolute positions
I’m having trouble positioning items (div's), in the case, I need the first div, occupy all the height and width of the screen, already the others, occupy only the padding which they receive and the…
-
0
votes1
answer65
viewsHTML and Javascript
I would like to know how to open this screen when clicking on an image, as the example:…
-
0
votes1
answer229
viewsHow to change default project in Firebase via terminal?
I am trying to host a website in firebase, I followed correctly the steps that were guided by the platform. I defined a standard project in the "firebase init" step and now I want to define another…
-
0
votes1
answer425
viewsAlignment with flex box
I need the image to be positioned on the left until the menu activates its " responsibility " ( and then it normally becomes ), but I tried to add it in another field but the menu broke, I tried to…
-
0
votes1
answer704
viewsCustomize Contact Form 7’s Chekbox
I’m trying to customize a checkbox contact form 7, wordpress, but I’m not getting it! He should stay like this: And he’s like this: The code in the contact form is this: <label2…
-
0
votes1
answer47
viewsMonospace Font Consoles with 15px Height and 7px Width
I’m trying to figure out how I can have a font size that is always exactly 7 pixels wide and 15 pixels high in all letters/characters. I thought that font-family: consolas; with font-size: 12.73px;…
-
0
votes1
answer568
viewsBootstrap v4.1 - Notification displaying incorrectly
I use this plugin here: http://skywalkapps.github.io/bootstrap-notifications/2.0/ Segue Jsfiddle: https://jsfiddle.net/x7g1xoq1/2/ Follow the full CSS:…
-
0
votes2
answers402
viewsHow to overlay two sets of div’s using CSS?
Hello, everybody I’m running a little project, it’s a memory game. My idea was to create a div (which is the letter) and within that div put two other Ivs (which are the front and back of the…
-
0
votes2
answers242
viewsDouble Dropdown Menu does not show the second dropdown
The first dropdown is working normally, but the second one is not working at all. I’ve tried to specify more classes, but there’s no way, I think it’s something very simple that I’m missing. I’d be…
-
0
votes0
answers58
viewsScreen to visually relate items between two columns
I’m developing a screen in HTML, CSS and Jquery to relate two columns: one with the releases of a bank statement and the other with the release type, so I click on a release in the first column and…
-
0
votes0
answers245
viewsChange the color of the text in the input using Vuejs/Html/css
For example on Facebook when we type Congratulations so and so inside the input the word congratulations gets bold and orange and the person continues typing normally... ie ... when the person type…
-
0
votes1
answer543
viewsHow to change the color of the scrollbar by Jquery
I want to change the color of the scroll bar only when the user scrolls the screen. I tried the code below but it didn’t work. How do I? $('body').scroll(function(){ setTimeout(function(){…
-
0
votes1
answer25
viewsHow to specify a HEXA color in Mspaint?
Good afternoon, Can I specify a HEXA color in Mspaint? How do I? Grateful.
-
0
votes2
answers135
viewsChanging the styles of Bootstrap form fields
I wonder if there is any way to change the styles of bootstrap form fields. I wanted to put together a form with a border-bottom and transparent background but I can’t. someone has some solution?…
-
0
votes2
answers551
viewsBackground printing issues using bootstrap in Firefox
Good afternoon friends, I haven’t had much practice with Bootstrap yet, I haven’t been able to figure out a way to keep a div background when I print a page through the window.print() I have the…
-
0
votes1
answer2081
viewsHow can I place a logo on the same line as a flexbox navbar?
Hello, I have this situation: .navigation{ margin: 0; display: flex; background-color: #6ab240; height: 64px; justify-content: center; align-items: center; } .navigation a { font-family: 'Roboto',…
-
0
votes2
answers238
viewsColor transition effect in the navbar of a bootstrap template in Rails
Hello, I am using a template of startbootstrap, the Agency, I was able to import it to the Rails project, I put the theme in the vendor folder, I imported the scss in Aplication.scss and I put the…
-
0
votes2
answers56
viewsSame header and footer for multiple sites
Good afternoon! I work in a company that manages several websites (joomla - on different servers). All with the same header and footer. From time to time, we need to change all the headers and…
-
0
votes1
answer21
viewsNumber of Pixels Rolled on a Hidden Overflow Page
Hello! I’m in need of finding a way to toggle in a class on body when I do a large scrolling on the page (Ex: 1000px). However, the problem is that my page is A full screen with overflow: hidden.…
-
0
votes1
answer315
viewsCustomize Material Angular menu
I need to put a margin in this menu when clicked, I want below the button, have to use a hierarchy to not affect the original classes of the component? angular .module('MyApp',['ngMaterial',…