html

Relative positioning + adaptability

How can I remove the offset of a block that is positioned relative to another block approximately in the center? With the scr ... of">Photographer</div> </div> </div> </div> </div> </section>

How do I call a python (django) script when I click a button on an html page?

There is a function for creating a random number in python (django) def generate_code(): random.seed() return str(random.randint(10000,99999)) How do I execute this code on an html page when a button is clicked?

Embedding PHP code in an HTML page

I do almost for the first time a website and, it just so happens that all the pages are php and only one with the html extens ... is it possible to embed php code in a page with an html extension? I'm not very good at this yet, so don't judge me harshly.

How do I change the background by clicking on the button?

How can I change the background image by clicking on the button? I only managed to make the background color change. I'm new ... Color();">Click</button> </div> <script src="app.js"></script> </body> </html>

When you click on the link, Skype opens

Hello, there is a page on the Internet on the page there is a Skype icon (the link is empty), how to make it so that when you ... is on the computer, it would open Skype, if not, then nothing would happen. Please tell me if there is such a possibility?

Replacing the separator in input (type = date). HTML5

Tell me how you can change the separator in the input tag, such as date, in pure HTML. I have this code here: <label& ... ите дату: <input name="userDate" type="date" placeholder="dd-mm-yyyy"></label> But the result is the same.

Select, drop-down list, processing without reloading javascript

Good afternoon, tell me, please, with such a task, there is a drop-down list of the type <select id="my_select" name="my_ ... S and therefore I do not quite understand how to do it correctly, and I do not need to reload the page. Thank you in advance.

How do I change the font via?

There is HTML with approximately the following code <label class="select">Выберите шрифт</label> <sele ... he value of the CSS variable (I just recently started working on ВЕБ-ом, so I don't search at all in CSS, HTML, or JavaScript

Masonry CSS without using columns

Does anyone know how to create a masonry product catalog? I did it using columns, but this option is not suitable, because the products are in a column and not in a row and when sorting, the sequence

How to make a rubber background

How do I make the main background rubber? For example, like here here.

Auto-fit, auto-resize images under DIV

There is a div with the .img-container class and a picture inside. <div class="img-container"> <img src="http:// ... t will change the size)? Similar to CSS for DIV: .img-container { background-size: cover; width: x; height: y; }

container-fluid does not stretch to the full width

Can't figure out where I went wrong? I use the "container-fluid" class, but the container does not stretch to 100% of the scr ... ver::after { -webkit-transform: translateY(29px) scale(1); transform: translateY(29px) scale(1); }

How do I make such a 2.5 d background?

2.5 d background on the page how can I do this?

Drop-down menu when hovering over the entire width of the screen

Https://codepen.io/Dasha_Novikova/pen/mdyOwXN Good evening. I have a drop-down menu when hover. How to make a full-width dro ... function(){ $('.drop-down__mega-menu').css('display','block'); } ); Tell me how to do it correctly and better?

opacity at hover

HTML: <div class="prof_foto"><img src="{foto}" alt="" /></div> <div class="prof_isonl"> <div class="prof_off">Оффлайн</div> </div> How do I hover over .prof_foto to make opacity: 0.7 y .prof_off?

Disabling hover

I mean in css hover. I'm trying to turn it off in jquery: $(this).off("mouseenter mouseleave"); $(this).unbind("mouseenter mouseleave"); I tried 2 ways. Both don't work. Why?

How do I change the size of an svg icon (html,css)?

Код html: <div class="header-logo"><img src="img\logo.svg" alt=""> </div> Код css: .header-logo { width: 30px; height: 30px; }

Changing the properties of a layer when you hover the cursor over it

Let's say there is an example: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DT ... </body> </html> How do I make the entire layer (and not part of it) change color when the cursor hovers over it?

How to add SVG code to wordpress

I have an SVG animation: var lineDrawing = anime({ targets: '#lineDrawing path', strokeDashoffset: [anime.setDash ... de in the right block instead of yoga. Perhaps someone knows how easy it is to find the path to the files? Code on codepen

I can't insert an image in css

I did everything on one video. I did everything exactly, exactly But already in the beginning there were problems with t ... <section> <div class="container"> </div> </section> </body> </html>