css3

transform skew CSS

How do I align the text in a div so that it is not tilted (without setting the tranform:skew property to the p element)? Tryi ... ); width: 50%; background: yellow; text-align:center; } <div><p>Некоторый текст</p><div>

The font is not connected to the SVG shape

I write the shape through the img path to the svg file. The font style and path are specified in the file, but the font still ... ="cls-4" style="font-family: 'Exo2'" transform="translate(48.945 33.772) scale(1.165)"> Услуги</text> </svg>

How do I rotate the img so that the img borders remain within the div?

The page has the following html: <div style="border: 1px dotted red; float:left; padding:10px;"> <img id="img" ... h must remain unchanged.And how can I create/edit an image in the img tag from JavaScript code without downloading the file?

How do I make squares scale-svg?

I can't understand how svg scales. The viewbox is set via media queries for each resolution or is affected via flexboxes(wh ... these squares then adjust that whether for adaptability? Please help me outline an algorithm of actions. Which way to look..

Can I make a triangle in CSS?

You need to draw a triangle in CSS. The methods described in the articles use border, they are visually like a triangle, but ... inside. You can make a triangle but so that you can put elements inside? Here is an example of how the result should be:

How do I change the icons that are displayed via Fonts to.png icons?

There is a vertical menu, in which all icons are displayed using the font (Fonts). How to change the icons in the menu to reg ... <li><a href="#"><i class="entypo-lifebuoy"></i>Help</a></li> </ul> </nav>

How to make such a transparent button?

How to create such a button? The button is transparent, with a gradient at the back. If there was a simple background, it wou ... If you cut with a gradient and position it, then there will be no docks during the adaptive process. Http://prnt.sc/ef3ik4

Disabling autofill styles

When auto-filling in inputs, Chrome sets the following styles for auto-filled fields. How do I override or disable these styl ... e following code does not disable autofill styles: input:-webkit-autofill { background-color: transparent !important; }

Draw a spiral on the site

Interested in what are the best ways to draw (animate the spiral drawing itself) the Fermat spiral on the site? (So that the ... l function, is it only in js? P.S. Please do not give ready-made solutions, but direct by what means it can be implemented.

How to parse matrix to scale, rotate, translate, skew?

The case is, getComputedStyle(element).getPropertyValue("transform") returns matrix(a, c, b, d, tx, ty). C translate everythi ... le to a simple person or tell me how you can get the property transform not in matrix, but in scale, rotate, translate, skew?

How to pave a space (block) with div-s?

You need to pave the space .diamond-parent with blocks .diamond. As an option, you can make a png image and pave the backgrou ... lass="diamond-parent"> <div class="diamond"></div> <div class="diamond"></div> </div>

Is it possible to fill a png image with white using css?

By default, the logo is red and blue. Is it possible to fill the image with white color using css?

The blur() filter in css also blurs nested images

Good afternoon. There is a css code that applies the blur filter(5px), but the fact is that it also puts a blur on nested img ... s what happens in the end: Code structure: div.article_content_img > img.article-img How can this be treated? thanks.

remove href links for media print

When sending a page to print, the preview shows link anchors next to each link, is it possible to disable this feature somehow?

Diagonal dash pattern on both sides of the paragraph

<div class="search"> <p>SEARCH</p> </div> I'm trying to add dotted side margins, like in t ... the sides of the text. How do I do this? Question translation: Diagonal dashed pattern on each side of paragraph@Daniel

Pseudo-element:before and:before

What is the difference between ::before and :before? Or ::after and :after?

Flex and margin-collapse)

In this example, the child blocks .row-green do not take into account the vertical collapse of the margins, because they are ... t;/div> <div class="row-red"> <div class="col"> Отступы схлопываются. </div> </div>

How to add bootstrap social icons to footer

Here is my picture with social icons. I need to add them using bootstrap / css. How can I design icon separation using bo ... footer 2--> Picture here Question translation: How to add the footer with social icons in bootstrap? @Prajwal K M

How do I connect less to a project?

Connected and set less to nodeJS .How to connect less if 2 files for compilation and styles work only in the root folder nodeJS? Or now you need to move all the files for the site to the folder where less?

How do I add a triangular corner to a tooltip using styles?

Hello everyone. I want to add a tooltip using styles. Everything would be fine, but I'm interested in how to add a small corn ... 0%; font-size: 12px; z-index: 999; } <a href="#" class="compare question" data-title="Задать вопрос"></a>