css – How do I avoid the standard HTML style when using auto-completion on the form?

I created a simple form in React, but if I only pay attention to CSS, I have a little styling problem. My fields to have transparent background and the edge (with the exception of the bottom edge) hidden, The problem occurs when the browser suggests to automatically complete the name because when using the AutoCompletehe reset to default All of my styles make up the field Input stick with a white background ruin my user interface again.

I will leave a simple example similar to my design in case you want to do a test:

body {
    background: linear-gradient( #336dca, #0b367c, #041d46, #000308);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    background-color: rgba(255, 255, 255, 0);
    outline: none;
    border: none;
    border-bottom: 2px solid #ffffffc0;
    color: #ffffffc0;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

button {
    background-color: transparent;
    padding: 5px;
    transform: translateX(167px);
    color: rgba(255, 255, 255, 0.637);
}

input::placeholder {
    text-align: center;
    color: #ffffffc0;
    opacity: 0.5;
}



    
    
    
    Teste Problema


    

CSS – You need to edit HTML for topics

I work on a small online shop and use the Averta Phlox theme. When I encounter you have a bug in a shopping cart. The shopping cart does not work on mobile phones because I can do a little remedy with simple CSS and HTML. I can fix this error. But I can't find the place for the HTML part in it because it uses aux design and Elementor plugin.

Maybe someone can suggest the location of how to find the necessary part of the code. It is a Phlox shopping cart widget that creates the shopping cart function in the header file.

My test page is here – SHOP

I would like to get a suggestion in this situation as Averta support has been ignoring this problem for 3 years.
Thank you and sorry for poor English, it is not my mother tongue.

css – What is the cleanest way to reduce Gutenberg blocks to the width of a container?

With Gutenberg, blocks can be set to different widths. For example, an image can fill the standard grid container with around 1200 pixels or use the full window width. I have tested the following four CSS methods and have had problems with each approach. Which method works in real pages?

Gutenberg width selection

The well-known standard theme has a content area with full width and sets all blocks to container width if no special width adjustment is specified.

.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
  max-width: 58rem;
  width: calc(100% - 4rem);
}

Pro: Works with all blocks.

Con: Very stubborn CSS selector.

The content area is full width and is filled by all blocks. There is a special group block that reduces the blocks contained to the container width. This is the approach of the Elementor section block.

Pro: Works with all blocks, simple CSS

Con: Almost everything has to be wrapped up in this section block

The content area is full width. The Gutenberg blocks contain an element that shrinks to grid size.

lorem ipsum

Pro: Very simple CSS with explicit selectors

Con: Every single Gutenberg block has to be rewritten, as it normally doesn't have this element.

This is the approach of most topics. The content element has that at around 1200px. Each block that is wider gets a special CSS that grows above the parent block.

.entry-content .alignfull {
  margin-left: calc(-100vw/2 + 100%/2);
  margin-right: calc(-100vw/2 + 100%/2);
  max-width: 100vw;
  width: auto;
}

Con: Wrong width than 100vw contains the scroll bar, hacky CSS

Pros: none. It doesn't even work.

CSS – I have a problem styling custom menus and submenus

My problem occurs when all parent pages have the same design, when the parent page is the selected page.

The same thing happens when a child has sub-elements. When the child is selected, all sub-elements are given the same design.

If a child is selected, only the child will be highlighted (which is correct).

Does anyone know how to solve this?

Here is the CSS menu:

.sitenavigation{float:right; padding-top:20px; position:relative;}
.sitemenu{ padding:0; z-index:9999; display:inline-block; position:relative; }
.sitemenu ul { margin:0; padding:0; font-family:'Open Sans', sans-serif; font-size:13px; font-weight:600;  position:relative; }


.sitemenu ul li{ margin:0; padding:0; display:inline-block; position:relative; }
.sitemenu ul li:last-child{border-right:none;}
.sitemenu ul li a{ padding:10px 20px; display:block; text-align:center; text-transform:uppercase;  color:#303030; -webkit-transform: skew(-20deg); -moz-transform: skew(-20deg); -ms-transform: skew(-20deg); -o-transform: skew(-20deg);}
.sitemenu ul.sub-menu li, .sitemenu ul.sub-menu li:hover, .sitemenu ul.sub-menu li a {-webkit-transform: none !important; -moz-transform: none !important;   -ms-transform: none !important; -o-transform: none !important; }

.sitemenu ul li ul li{ display:block; position:relative; float:none; border-bottom:1px solid #eee;}
.sitemenu ul li ul li a{ display:block; padding-top:7px; padding-bottom:7px; position:relative; text-align:left;}
.sitemenu ul li ul{display:none; z-index:9999999; position:relative; background-color:#ffffff ;}
.sitemenu ul li:hover > ul{display:block; width:200px; position:absolute; left:0; text-align:left; }
.sitemenu ul li:hover ul li ul{display:none; position:relative;}
.sitemenu ul li:hover ul li:hover > ul{display:block; position:absolute; left:200px; top:0;}
.sitemenu ul li a:hover, 
.sitemenu ul li.current-menu-item a,
.sitemenu ul li.current-menu-parent a.parent,
.sitemenu ul li.current-menu-item ul.sub-menu li a:hover{ background-color:#8f2817; color:#fff;  }
.sitemenu ul li.current-menu-item ul.sub-menu li a{  -webkit-transform: none !important; -moz-transform: none !important;   -ms-transform: none !important; -o-transform: none !important;}

css3 – scroll css cuts me at the end

I have trouble scrolling because I end up cutting out my divs, cards or texts and not displaying them properly.

Here is a picture of the problem:

Enter the image description here

This is the CSS code that I am currently using to assign styles to the template I am designing.

html,
body {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

@font-face {
  font-family: GreatWishes;
  src: url(../fonts/Diverplate.ttf);
}

.cuerpo .asidex .mi-menu {
  height: 100vh;
  background: #0e0e0e;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* IE 11 */
  scrollbar-width: none;
}

.cuerpo .asidex .mi-menu .menu {
  font-size: 16px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.cuerpo .asidex .mi-menu .menu .menu-label {
  margin-top: 10px;
  margin-left: 12px;
}

.cuerpo .asidex .mi-menu .menu .menu-list a {
  font-size: 12px;
}

.cuerpo .asidex .mi-menu .menu .menu-list a .icon {
  font-size: 8px;
}

.cuerpo .asidex .mi-menu .menu .menu-list a:hover {
  border-radius: 0;
  -webkit-transition: 1s;
  transition: 1s;
  background: #242424;
  color: #f2f2f2;
}

.cuerpo .asidex .mi-menu .menu .menu-list a:hover .icon {
  color: #276daf;
  -webkit-transition: 1s;
  transition: 1s;
}

.cuerpo .asidex .mi-menu::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  display: none;
  /* Chrome y Edge */
}

.cuerpo .headerx .navbar {
  -webkit-box-shadow: 0px 2px 2px -2px #a0a0a0;
          box-shadow: 0px 2px 2px -2px #a0a0a0;
}

.cuerpo .headerx .navbar .navbar-brand .navbar-item .boton-responsive {
  color: #000;
}

.cuerpo .headerx .navbar .navbar-brand .navbar-item .boton-responsive:hover {
  color: #e25e11;
}

.cuerpo .headerx .navbar .navbar-brand .navbar-item .cristiangarcia {
  font-family: GreatWishes;
}

.cuerpo .headerx .navbar .navbar-menu .navbar-start .navbar-item .field .control {
  width: 450px;
}

.cuerpo .headerx .navbar .navbar-menu .navbar-start .navbar-item .field .control .input-searchx {
  background-color: #f2f2f2;
}

.cuerpo .headerx .mi-main {
  max-height: 100vh;
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* IE 11 */
  scrollbar-width: none;
  /* Firefox 64 */
}

.cuerpo .headerx .mi-main .main-section {
  padding: 20px;
}

.cuerpo .headerx .mi-main .main-section .contenedor-minititle {
  color: #363636;
  cursor: pointer;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-bottom: calc(0.5em - 1px);
  padding-left: 1em;
  padding-right: 1em;
  padding-top: calc(0.5em - 1px);
  white-space: nowrap;
}

.cuerpo .headerx .mi-main::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  display: none;
  /* Chrome y Edge */
}

As you can see in the picture, at the end of the scrolling, the cards I want to view are cut out and not fully displayed, so information is lost if it is not displayed.

Thanks in advance.

ssl – HTTPS interrupts CSS in mobile browsers

My website bootstraplite.com does not load the correct CSS in mobile browsers after I have activated SSL in bluehost. When I use HTTP the correct design is shown.

I use to get the stylesheet. I tried using direct links https: //, or //bootstraplite.com/.. I've updated mine too WordPress and site address at https, but nothing seems to work.

The title page is usually a static page with hard-coded content. Just a little WordPress PHP to get footers and links.

html – mouse moves a div centered with CSS properties

I have a Div i Center with CSS over Edge Auto and 0 in the top left corner. If I now change the left property to 10px, it moves 10 pixels over the left. I want to know how to do it with the mouse. I stumble across the math part.

Here is a simple dummy version of my code that I created myself:

https://codepen.io/L2L2L/pen/KKpzqdY?editors=1101

The green square should always be in the middle of the mouse pointer when you move the mouse. However, also note that this green square is in a blue square.