Most voted "css3" questions
The term CSS3 is used to refer to CSS properties and selectors added after level 2.1 of the specification. Use this tag for questions about new CSS modules.
Learn more…1,944 questions
Sort by count of
-
0
votes1
answer20
viewsWhy `position: Sticky;` of an element stops working when it reaches the `margin-bottom` of the next element?
I’m doing an exercise in CSS and I have a header stylized with position: sticky. This style works correctly until the scroll of the page finds the margin-bottom of the next element (div), when the…
-
0
votes2
answers46
viewsWhy can’t I reverse aside my aside and Section:
I’m trying to make the box2 get float:left and box1 with float:right but even setting the options HTML does not play what I need. This needs to happen without using grid or flexbox or anything other…
-
0
votes1
answer30
viewsI wanted to make these two buttons here but I doubt to use the tag button or the , which better to use?
I’m just using html and css on this site, follow the photo of the buttons : https://prnt.sc/1gkoqf7 .bannerContainer { background-image: url(../img/banner-barbearia.jpg); background-repeat:…
-
0
votes0
answers45
viewsHow to hide the <img> tag icon when the image is not found?
I made a button of upload which displays a preview of the selected image, but for this, the tag img has its attribute src empty. So this icon which is pointed with the arrow. I’ve tried everything,…
-
0
votes0
answers28
viewsMargin bringing Fixed header down
I’m trying to make a fixed timer that sits at the top of the page as the page goes down, but when I change the top margin of Section#content the header goes down instead of being fixed, I’ve tried…
-
-1
votes3
answers1142
viewsParallax Animation and Fade for Web
I’ve made all the moves of this URL in Adobe’s Muse and Edge Animate, but I want to do it in my fingernail by coding. Some hint of Parallax or similar animations in Codepen or Github? I want to…
-
-1
votes1
answer51
viewsSite opening horizontal margin how to resolve
I am making a site that is almost ready and it is opening horizontal margin, I’ve used body{ background:#CCCCCC; overflow-x:hidden; } but it didn’t work, there is some way to open margin without…
-
-1
votes1
answer982
viewsFix Bootstrap Column
Hello, I have 2 columns, one with a col3 and one with a col9. I would like the col9 to be fixed and the col3 to be rolled. How can I do it with bootstrap?
-
-1
votes3
answers14256
viewsHow to make a DIV that increases in size every time you increase content?
I am doing a course work, I need to do a DIV that increases in size according to the content I add. Can anyone help me? Would it be right if in css I put like this: height: ; ? Aside from the value.…
-
-1
votes1
answer50
viewsJquery Cyclo 2 problem with effect
I have the following html: <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Slider</title> <script type="text/javascript"…
-
-1
votes1
answer62
viewsHow can I center my dropdown menu?
Hello. I am attending the first month of a technical course and I am working to create a site using HTML5 and CSS3 techniques that we learn in class and innovations would be welcome. I searched a…
-
-1
votes2
answers82
viewsFont reponsive with css
Good afternoon, I am making an html page and have some blocks that are responsive. Now I need the text displayed inside them to be as well. How can I do this?
-
-1
votes4
answers248
viewsError when centralizing ul in div
I have the html below and your css. No matter how hard I try, I’m not being able to centralize the ul list in the div. This ul brings data from a search to the database. Where I am missing? * {…
-
-1
votes2
answers1040
viewsHow to disable responsive from a css site
Hello, I wonder if it is possible to disable the responsive of a site in jquery without changing the codes for example force the desktop version on mobile devices! thank you in advance!…
-
-1
votes2
answers46
viewsImages within DIV’s - How?
I want to apply 2 company logos, one on the left side and the other on the right side within this DIV. How?! I can only apply one, when I’m going to apply another, the first one goes away. @media…
-
-1
votes1
answer691
viewsVertical alignment and inline display
good afternoon! I have the page below and as much as I try I can’t get the menu to stay online with the logo. Where am I going wrong? Another problem is that the logo and menu have height of 88px…
-
-1
votes2
answers97
views100% modal with CSS
Someone can help me, I need to make a modal, an msg that will appear in the loading of the site, with a background all opaque, IE, with the modal characteristics same, and when clicking the window…
-
-1
votes1
answer538
viewsChange word style next to via css
I received a track to do in the layout of a site and would like to know if it could reproduce the effect via css. For example I have the phrase -> Hello I am a text. Would you like to always be…
-
-1
votes1
answer227
viewsExchange the position of HTML Ivs
How the image shows. I have a div mother containing 5 div vertically aligned. How do I change the position of the last div contact positioning it between home and services without having to change…
-
-1
votes2
answers429
views -
-1
votes3
answers9296
viewsHow to make a countdown timer with Html5+css+javascript, which at the end of the selected time tap(or run) a *.mp3
I started testing with this HTML code: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body…
-
-1
votes2
answers1275
viewsImage HTML position does not scroll with the screen
I’m creating a layout where the content is on top of an image, but I realized that when scrolling the page this image scrolls together! please can anyone help? tks. There goes html code: <section…
-
-1
votes1
answer2718
viewshow to expand or decrease the height of an image in html and css
Hello good afternoon everyone,I would like to know how I expand the image from the top until it reaches all that white part without leaving the left part blank and tmb would like to know how to…
-
-1
votes2
answers253
viewsHow many decimal places does the Browser accept or recognize?
I have seen more and more values with multiple decimal places in CSS styles. Then the question arose. Up to how many decimal places does CSS actually accept and Browser can render? Values like these…
-
-1
votes1
answer961
viewsI want to put image as background for my HTML5 project, but I can’t! How can I fix it?
It is set to div. And even then it does not work. I tried to put in body{.. }, but I did not succeed either ): Somebody help me!!…
-
-1
votes1
answer71
viewsAlign text after choosing an option in select
Hello, Guys, I need some help lining up texts. I have a select with a list of cities, in this list there are addresses, when we select a city, only information will be shown concerning that city…
-
-1
votes1
answer37
viewsDrag drop jquery ui dialog box/ html / css
People in one application would like to basically drag a div that is inside the dialog box and put it in another one. When trying to do with my code the div tends to disappear when I start to…
-
-1
votes6
answers4426
viewsHow do I make the image 100% on the screen?
I have a website in development. Then I want it to be on the whole screen, it’s to be a responsive site, I’m using the bootstrap... It only gets full screen if I zoom 150%: Example:…
-
-1
votes2
answers7095
viewsOpen message window inside html page
For a long time I try to do this but I don’t know how, like, several sites have a link that when I click opens a window as if it were a more fixed pop up on the page, but I’ve tried everything I’ve…
-
-1
votes1
answer71
viewsCSS selectors 3 :Nth-Child()
My HTML code has 12 tags that form 4 blocks of content per line, I would like to apply a different style as follows with Nth-Child: 1 div - a CSS style Next 3 Divs - another CSS style And so repeat…
-
-1
votes1
answer60
viewsAlign div inside a Box
I’m using flexbox, inside the father div I put a div with text, initially is positioned at the top, I want to position this div at the end of the father div. But when I put position relative; and…
-
-1
votes1
answer166
viewsChange layout color
I wanted to create a function to change the colors of the layout of the site that they are developing, this site is made in Codeigniter, CSS3 and a bit of pure Javascript, I did a search on the…
-
-1
votes1
answer79
viewsWhat is the difference between Property in css, background-origin and background-clip?
Well I know what the two properties are for but I don’t know the difference between the two because they both use the same values and contain the same results in the viewport!
css3asked 5 years, 8 months ago user139915 -
-1
votes1
answer67
viewsProblem with Responsive Image
img { background-image: url(../img/slides/11.jpg); max-width:100%; height:auto; } When I put the code above, the following error occurs: The image (as in the photo) goes up. Since without the code…
-
-1
votes1
answer61
views -
-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
votes2
answers290
viewsHow to make a circle with a diagonal middle stroke in CSS?
I need to make this circular shape below, with a diagonal stroke in CSS. Can someone help me?…
-
-1
votes1
answer28
viewsautomatic style change
I’m using the theme Elevate on my website and wish to make a change: Currently the logo in the upper left corner is displayed normally, but when going down the site, the style of the logo is changed…
-
-1
votes1
answer50
views -
-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
answer57
viewsI would like to apply an animation in <Nav>. I would like to make it appear by clicking . menu_burger, from left to right
const menuBtn = document.querySelector('.menu-btn'); let menuOpen = false; menuBtn.addEventListener('click', () =>{ …
-
-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
answer91
viewsText box for the range
Hello, my application is in Angularjs and I’m also using materialize. I would like to create a range but next to it put an input that when I type the data the range changes with the value of the…
-
-1
votes2
answers30
viewsHow to Edge Over a Button?
I’m starting to study to become front-end, and I’m taking the first steps, I’m making a calculator and I’m giving it a style but I can’t get the 0 button behind the bora, someone can help me?…
-
-1
votes1
answer59
viewsHow to hide the input title when filled in the form using CSS
<div class="content"> <span class="title" for="input_example">Título do campo</span> <div class="form-content"> <input type="text" id="input_example"…
-
-1
votes1
answer26
viewsCreating responsive email marketing, how to let the text occupy the entire field and not just stay within the table?
I’m creating a responsive email marketing and I’m having trouble letting the text of the email take up all the space after the images. They are all involved in the table as it is format for email.…
-
-1
votes1
answer290
viewsCreate Options with div and interact with Javascript
I need to create something similar to an opiton using div and sapan, which contain images like icons, and still have an interaction with Javascript. My code works like this, if you see any server…
-
-1
votes2
answers67
viewsfunction to change my . css if the width of the sole is "X"
Hello. I’m in the learning phase. Trying to create a responsive website. I need a . js or .css. script so that when this width in the code (css) is true, run the code. in css. (I thank you give of…
-
-1
votes1
answer663
viewsRequired modal Bootstrap
I have a modal, where I need to validate the fields, but in the modal I can’t put the required=required, because it does not open the modal. How can I proceed, so that the function works as…
-
-1
votes2
answers121
viewsI need a menu whose sub-menu appears above the menu
Sorry for the lack of information: in the example of the code below, when you hover over the menu, the sub-menu Stop below the menu, do not know how to appear above the menu, who knows and want to…