Questions tagged as 'css'

2
answers

Zoom effect with CSS

I have a div with an image in which I applied a zoom effect and a slight rotation! but this image should zoom and rotate within the boundaries of the DIV without overflowing, but hide parts that exceed the size of the div. image explaining:...
asked by 17.05.2018 / 01:07
1
answer

Is there any way to set a max-height of an element equal to the size of the window, with pure CSS?

I have a sidebar, which can contain n items in a listing. My sidebar looks something like this: In my source code, I set the following css to work: .sidebar { max-height: 400px; overflow-y: auto; } Now my question...
asked by 09.08.2016 / 22:40
1
answer

Why is: first-child a pseudo class?

I'm giving a CSS training, and even after reading and listening on the theme I'm still having some difficulties in realizing why: first-child is a pseudo class and not a pseudo element such as :: first-line, :: first-letter, etc. Some example...
asked by 25.10.2017 / 21:30
1
answer

How to implement drag-and-drop on an html page?

I'm a Delphi programmer, but I'd like to implement a html page with the drag-and-drop feature of the page. I'm creating a page for avatar assembly, but I would like to leave the options of the accessories for the user just drag and drop. I...
asked by 17.12.2015 / 16:34
1
answer

Text skirting image / round div

I'm in doubt about how to make the text work around the image / round div. Follow the example: Maybewecouldstartlikethis:html<divid="texto-esquerdo"> <p> Lorem Ipsum é simplesmente uma simulação de texto da indúst...
asked by 12.01.2018 / 13:43
1
answer

CSS + Java Script: Treating image larger than a circular div

Good morning !! Home I'm trying to do the following: I created a function that when clicking on the photo, send the photo to the circ%% circular, the problem is that if the image is bigger than the div, it overlaps everything, I would like to t...
asked by 04.10.2017 / 13:56
1
answer

How to keep a rotated text centered in a dynamic height div?

Basicallymyproblemisinthecolordiv,andinrotatedtext.Ineedthedivofthecolor,hastheminimumheightrelativetothesizeoftherotatedtext,andthatthemaximumheightisrelativetotheexternaldiv.Iwillhavedynamicinformationinsertedintotheinformationboxdivs.Myprobl...
asked by 21.10.2015 / 12:32
1
answer

Problems with @ font-face of the same family

I'm having a problem with CSS3's Font module. I have a font with 3 types: bold, normal and italic and I inserted them in CSS with the same name but with font-weight and style attributes for each type. The problem is that in some browsers (F...
asked by 24.02.2014 / 18:24
1
answer

Problem setting CSS inside 'style'

I'm facing a problem. I want to put all my CSS inside the Style tag as shown in my code below: <style> input[data-column="1"] { display: none; } input[data-column="2"] { display: none; } .editCancelar { margin-left:-2px;curso...
asked by 28.02.2014 / 12:21
2
answers

How to remove blocking CSS and Javascript files in Blogger, such as Widgets.js?

I'm trying to optimize the loading speed of my Blogger site by removing unneeded CSS files that I do not use, nor do I intend to do in the future. For example: <link type="text/css" href="https://www.blogger.com/.../widget_css_bundle.css"/&...
asked by 10.04.2016 / 14:07