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
-
-1
votes1
answer68
viewsChange CSS automatically when typing
I need to change the CSS of a string that is inside keys automatically. Follow an example: Olá {{AMIGO}}. Whenever I typed this {{AMIGO}}, I wanted it to be button-shaped and without the keys.…
-
-1
votes1
answer100
viewsRowspan replaced by another attribute
I wonder if the "rowspan" property of css has been replaced by another equivalent and what this new property would be.
-
-1
votes1
answer70
viewsIs there any way to "dismember" an element child of a parent element?
I have the following situation in the destkop version of a template: <div class="bloco-pai"> ... <div class="bloco-filho"> </div> When the template is viewed on mobile I would like…
-
-1
votes1
answer273
viewsButton when clicked has effect on other
I made a button using ID’s and still when clicked it gives a margin-top=10px in both. What is my mistake? I want it to take effect only on the button that was clicked! button{ border: none;…
-
-1
votes1
answer126
viewsHow to keep the line of a bootstrap table active looking
would like to know how to keep a row as active from the table by default, without passing the mouse, in case it would be to be selected one of 4 options available in each row. Ex: In case I leave…
-
-1
votes1
answer170
viewsMultiple CSS Conflict
Hello, I’m making an HTML table and I’m using my.CSS style sheet, but recently I made a datepicker with their bootstrap and their style link: <link rel="stylesheet"…
-
-1
votes1
answer45
viewsTHE COLOR OF MY WEBSITE DOESN’T OPEN RIGHT ON IE11 AND EDGE?
Good afternoon Devs, I’m already with that...I managed to convert the colors in Firefox...plus IE no chance, and the customer still wants to look at IE...Have any way to solve? I used those codes on…
-
-1
votes1
answer487
viewsHow to align a text within an "input" HTML text
How do you align a text within the "text area" of a text input using CSS? I’ve tried text-align but it doesn’t work well, the text is aligned on the left but not at the top. Is there any way to…
-
-1
votes1
answer28
viewsCSS class application after click on LABEL and also on CHECKBOX
I have an apparently simple doubt, but since I am a designer (and not DEV) I am breaking my head to solve and I can’t find the solution... I tried to find something similar here, but I couldn’t find…
-
-1
votes1
answer50
views -
-1
votes3
answers1919
viewsAlign CSS Bootstrap Cards
Hello, I would like to align the cards in the center of my page Print: Code: *{ font-family: "Ubuntu", sans-serif; } .logo{ max-width: 27%; } .content-wrapper { max-width: 1250px;…
cssasked 4 years, 11 months ago João Gabriel Costa 15 -
-1
votes3
answers929
viewsCSS is not working on any browser on my PC
Good evening, I have to do a TCC to finish my course, but the CSS of my code does not work in any browser. It only works if I pull it online from the cloud: <!-- Compiled and minified CSS -->…
-
-1
votes1
answer21
viewsHide menu, show Sticky
I am making a site in wordpress, but my problem is that, I want to hide the menu by default and make appear only the Sticky menu. How can I do this with javascript? I’ve tried and searched, but I…
-
-1
votes1
answer407
viewsPossible with javascript / jquery
I need to get the result of the image. if you can help me, I’ll be very grateful.…
-
-1
votes1
answer116
viewsIs it possible to make Vscode "Responsive" Workspace equal to Sublime?
When using Vscode on half screen 2, creates a horizontal scroll that shows what’s beyond the right margin. It doesn’t exist in Sublime because it adapts to the screen size 1. It would be possible…
-
-1
votes1
answer23
viewsHow to adjust grids to always have the same height space
I am creating a screen with bootstrap that will have several items panel But the way I did, it only fits well on the screen if the content is the same height, something that will not always happen,…
-
-1
votes2
answers68
viewsDoubts about HTML and CSS
Hello, I’m starting now and I have the following question: When creating a page with HTML and CSS, I added the icons to access my social networks (example: Instagram, Linkedin, etc.) but just added…
-
-1
votes1
answer32
viewsProblem with Javascript code resetting after including CSS
I made a script in Java to give the calculation of ST for use and consumption. The calculation is working, but when I add CSS to style the page, when executing the code it appears the answer in…
-
-1
votes1
answer69
viewsProblem with SVG elements coming out of place in mobile version
I created an avatar editor that places SVG elements on the screen. When I put in the resolution of mobile version, there is a strange event happening, which causes a single element to descend,…
-
-1
votes1
answer75
viewsHow do I remove or change the scrollbar from my navbar?
I want to remove my scrollbar that has on the side tab, already tried to use the Webkit in the CSS navbar and nothing. I appreciate any assistance, here the image below how it looks and the codes.…
-
-1
votes1
answer40
viewsAlign UL (result) with input (filter)
I’m doing a filter search, when the user type, will appear the results in a UL. The UL (where it shows the filter results) is not aligned with the input. Follow an image to get an idea: Any idea?…
-
-1
votes1
answer193
views(React) Bootstrap overwriting my css
Hello, everyone. I’m a beginner with React and I was developing a front-end application and decided to use the bootstrap to make a slide. I installed the bootstrap through npm install and installed…
-
-1
votes1
answer155
viewsHow to upload css file to Django?
I started studying Django and I have a problem, Django can not load CSS (NOTE: It was already CTRL+F5 and still does not load CSS) Information that may be useful: STATIC_URL = '/Static/' folder…
-
-1
votes1
answer20
viewsLayout not fitting properly on mobile devices
I used a Media Query to make a responsive layout, which would look like this on the desktop: And so on mobile: The problem is that when I enter the site using the mobile phone the layout is not as…
-
-1
votes1
answer50
viewsProblems with mobile version on my site
I am developing a site for a friend and I am not able to create the mobile version of it. When I try to check the mobile version of the site with the help of the tool to inspect google Chrome it is…
-
-1
votes1
answer42
viewsAssign CSS value within JS
I am trying to assign a CSS value via PURE JS. This one worked : $('a[title="Selecionar"]').css({ 'font-size':'0' }); But how do I do the :after css in this case ??? , like :…
-
-1
votes1
answer26
viewsDropdown does not show background
Hello someone can help me with a problem I’ve been facing for a couple of days, my dropdown does not show background without the (overflow-y:auto;) but if I put the overflow the submenu gets…
-
-1
votes3
answers383
viewsChange Bootstrap 4 button background
What would be the right way to change the background of a button in bootstrap 4 to a custom color: <button class="btn btn-primary btn-lg">Buscar</button> for <button class="btn…
-
-1
votes1
answer32
viewsI specify the icon I want to apply on my button with bootstrap, but it only appears empty on the page... What’s going on?
<div> <span>TROCO</span> <button type="button" class="btn btn-outline-dark" data-toggle="collapse" data-target="#collapse" aria-expanded="true"…
-
-1
votes1
answer134
viewsI put an image on my bootstrap link, and the image does not load at all... Does anyone know what’s going on?
<nav class="navbar navbar-light bg-light"> <a class="navbar-brand" href="/blog"> <img src="https://i.stack.imgur.com/hvQfa.png" width="30" height="30" alt="" loading="lazy">…
-
-1
votes2
answers248
viewsHide and show using javascript
I’m trying to make sure that when I hover the mouse over an image, show one that I have in figcaption, and as soon as I leave with the mouse on top of figcaption, it hides figcaption and shows the…
-
-1
votes1
answer32
viewsGrid with charts that replace each other
I’m creating a page with a grid that should have 3 charts, one at each grid position. But all the graphs are in the same position of the grid and end up replacing the previous graphs (Graph 2…
-
-1
votes2
answers4627
viewsRemoving Characters from a String (JS)
I have a question, I need to remove a specific character of a string in my input, I used a mask to convert it into Real, but as it is with comma and point my js script is not recognizing there need…
-
-1
votes1
answer22
viewsas variable return within a function
Function getPeson () { const name1 = 'Vagner'; const Nome2 = 'Jessica'; Return name1, Nome2; } console.log(getPeson());
-
-1
votes1
answer26
viewsHeader problem, padding-top is changing header height
*{ margin: 0; padding: 0;} .header{ background-color: #212343; width: 100%; height: 70px; text-align: center; word-spacing: 15px; font-size: 20px; padding-top: 15px; } .header > to{ color: white;…
-
-1
votes1
answer1930
viewsMove down button and center - Bootstrap 4
I’m trying to create a layout with bootstrap 4 and for that I took an example of navbar on their website. The problem is that I would like to lower the mobile button on a new line and centralize,…
-
-1
votes1
answer67
viewsEvent when loading the page in Javascript
I’m new to programming and recently came across a loading event on various platforms, some examples are: Youtube and Epic Games. (Print of attached event) The event consists of: 1 - While the page…
-
-1
votes1
answer40
viewsCrop elements with Javascript
I’m having trouble moving elements on the screen with pure javascript. I need to "crop" the element of a place -> And send this element to another place , and do this with all the html that this…
-
-1
votes1
answer24
viewsUnable to load plugin watch (Less)
I’m trying to install Less on my windows, when I give a lessc --watch agency.less custom.css Appears: Unable to load plugin watch Please make sure that it is installed under or at the same level as…
-
-1
votes1
answer57
viewsChange panel background color by clicking
The above code works as an accordion, is the same as the accordion code of Bootstrap. I wonder, how to do user by clicking on "Panel-Heading", he stick to the green background, and when back stay…
-
-1
votes1
answer374
viewsTextinput formatting problem in React Native
I have the following React Native component which is a screen to fill in data from an activity: import React, { useState } from 'react'; import { View, Text, TextInput, TouchableOpacity, Switch,…
-
-1
votes2
answers46
viewsVscode problem adding space in code
Hello, everybody. When working with HTML every time a change is made to head Vscode automatically adds a space before closing all double quotes in the body. Staying as in this example: input…
-
-1
votes0
answers18
viewsSyntax to execute code[ERROR]
$mensagem = ' <div style="font-size:17px; color: #707070; font-weight:bold; font-family: 'Segoe UI Semibold','Segoe UI Bold','Segoe UI','Helvetica Neue Medium',Arial,sans-serif; " > Conta da…
-
-1
votes1
answer23
viewsHow to turn a link’s properties into a specific class or id?
How I can turn link properties into a class or id? a:link a:visited a:hover a:active I can transform them into a class and use them individually in some element?…
-
-1
votes1
answer623
viewsBootstrap Collapse animation does not work
Good evening, I would like some help... I’m trying to use the Boostrap 3.3 Collapse in a row of a table, the code is like this: <table> <thead> <tr> <th>header</th>…
-
-1
votes1
answer22
viewsHow do I leave an active <div> only for one screen size? For example: only in 750px does it become active (I’m a beginner)
<div id="750px"> <a href="https://www.instagram.com/p/CKBoR2ZDlwL/" target="_blank" rel="external"><img…
-
-1
votes2
answers121
viewsHow to reuse HTML code with pure Javascript?
I am creating a site with multiple pages and constantly modify my header, is it possible to create a single header and use it on all pages? (preferably with pure javascript)
-
-1
votes1
answer39
viewsCSS does not load into static build (next export)
I’m using Yarn create next-app, for my first site project on React. So I used export to generate the static site and moved the "out" folder to the server to see the result. But apparently all the…
-
-1
votes1
answer62
viewsEdge off the page
Hi, I’d like to know how I can remove the edges that were left between the page and the background.. I would like to leave the full content --- No Negative if it can’t help ... The question is basic…
cssasked 7 years, 2 months ago Luã Vieira 11 -
-1
votes1
answer34
viewscircumference on top of an image
Hello! I am developing a carousel of images and would like to put in it circles on top of a specific place of the image. The problem is that my circumference does not appear. I tried to use the…