maquetacion css3 con un container overflow (CSS3)

tengo una estructura donde a la derecha muestro una lista de items donde el contenedor tiene overflow-y pero al momento de que el alto de dicho container supera el 100% de la pagina se pasa y me genera un overflow en el body, yo quisiera que este container sin necesidad de ponerle un height fijo que me pueda detectar el 100% y me muestre el boton.
Este es mi codigo:

Buenas noches, tengo una estructura donde a la derecha muestro una lista de items donde el contenedor tiene overflow-y pero al momento de que el alto de dicho container supera el 100% de la pagina se pasa y me genera un overflow en el body, yo quisiera que este container sin necesidad de ponerle un height fijo que me pueda detectar el 100% y me muestre el boton.
Este es mi codigo:

  body {
    padding: 0;
    margin: 0;
    border: 0;
  }

  #global {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
  }

  .col-izq {
    width: 100%;
  }

  .col-der {
    min-width: 400px;
  }
  .columnas{
    display:flex;
    height:100%;
  }
<div id="global">

  <div><div class="titulo--index flex-gen" style="padding:5px 0 10px 0">
  <div class="flex opaco-8" style="align-items:flex-end;"><img src="https://es.stackoverflow.com/images/iconos/ordenes.svg" class="mr10"
      width="23">Registrar reporte</div>
</div>

<div id-sect="form-local" class="mb10"  style="display:flex;">
  <div class="flex label-10" style="margin-bottom:0;"  style="display:flex;">
    <div class="form-label width mt15 children-width" id="label-mesa">
      <div class="titulo--label">Cliente/Paciente:</div>
      <div class="campo flex label-10"  style="display:flex;">
        <select class="ui-1" id="mesa" name="mesa">
          <option value="0">Seleccionar</option>
          <optgroup label="handrew">
            <option value="">Aurora</option>
            <option value="">Miribom</option>
          </optgroup>
        </select>
      </div>
    </div>
    <div class="form-label width mt15 children-width" id="label-medio-pago" style="margin-right:0">
      <div class="titulo--label" style="text-overflow: ellipsis; white-space: nowrap;overflow: hidden;">Medio de pago:
      </div>
      <div class="campo flex label-10">
        <select class="ui-1" id="medio_pago_local" name="medio_pago">
          <option value="1">Efectivo</option>
          <option value="2">Tarjeta de credito/debito</option>
          <option value="3">Transferencia</option>
        </select>
      </div>
    </div>
  </div>
</div>
</div>

<div class="columnas">

  <div class="col-izq">
    soy la columna izquierda
  </div>
  <div class="col-der" style="height:100%;display:flex;flex-direction: column;">
    soy la columna derecha
    <div style="overflow-y: scroll;height:100%;">
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
      aca ahy items<br>
    </div>


    <div><button>Procesar</button></div>

  </div>
</div>
</div>

Si no pude explicarme en la pregunta les adjunto una imagen con lo que tengo y lo que quisiera:
introducir la descripción de la imagen aquí

css3 – Diferenças entre display, visibility e opacity no CSS

O CSS tem as seguintes propriedades:

display: none;
opacity: 0;
visibility: hidden;

Vamos para um código de exemplo que eu criei para ajudar na pergunta. Este tem um botão chamado Esconder que basicamente vai atribuir para cada uma das divs uma classe que vai “esconder” cada uma das divs de acordo com a classe dela, ou seja:

  • para a classe div-1, vamos atribuir a classe hide-1
  • para a classe div-2, vamos atribuir a classe hide-2
  • para a classe div-3, vamos atribuir a classe hide-3

Cada um desses hide- vai implementar uma propriedade do CSS mencionada no começo.

Vejam o código na prática:

const divs = (...document.getElementsByTagName('div'));
const btn = document.querySelector('button');

btn.addEventListener('click', () => {
  divs.forEach((div) => {
    const classValue = div.getAttribute('class');

    switch (classValue) {
      case 'div-1':
        div.setAttribute('class', 'hide-1');
        break;
      case 'div-2':
        div.setAttribute('class', 'hide-2');
        break;
      case 'div-3':
        div.setAttribute('class', 'hide-3');
        break;
      default:
    }
  });
});
main {
  text-align: center;
}

div {
  padding: 20px;
  margin: 10px;
}

.div-1 {
  background: rgb(160, 23, 23);
}
.div-2 {
  background: rgb(29, 161, 17);
}
.div-3 {
  background: rgb(58, 45, 231);
}

.hide-1 {
  display: none;
}
.hide-2 {
  opacity: 0;
}
.hide-3 {
  visibility: hidden;
}
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <main>
      <div class="div-1">
        <p>Texto da div 1</p>
      </div>
      <div class="div-2">
        <p>Texto da div 2</p>
      </div>
      <div class="div-3">
        <p>Texto da div 3</p>
      </div>
      <button>Esconder</button>
    </main>
  </body>
</html>

Eu sei que opacity tem com o objetivo de dar um certo nível tranparência a um elemento, mas posso usá-lo para “esconder” o mesmo.

Ao executar o código acima podemos ver que visualmente o efeito é o mesmo, as divs não ficam visíveis, mas as minhas dúvidas em relacão as propriedades são as seguintes:

  1. Quais as diferênças semânticas de cada uma das propriedades (display, opacity e visibility)?
  2. Em quais contextos eu devo usar um ou outro?
  3. Em se tratando de SEO, algum deles pode afetar o SEO da página?

Nesta resposta o @hugocsl afirma que display: none afeta o SEO, mas quero saber se as outras propriedades tambem afetam.

html – ¿Como posiciono un elemento en medio de una pantalla? HTML5 y CSS3

me encuentro aprendiendo HTML y CSS, se como organizar las cosas en el medio de la pantalla utilizando

margin-left:auto;
margin-right:auto;

pero no se como posicionar un bloque en medio de forma vertical.

El codigo CSS del bloque que quiero posicionar es el siguiente:

.content{
height: 350px;
background-color: chocolate;
margin-left:10%;
margin-right: 10%;
padding: 5%;
}

Gracias a todos

Design your own website. for $5

Design your own website.

Welcome to my Service packages

Bio:-

  • My name is Partho Mallick.
  • My age My age is 20 years old.

Skills:-Experience:-

  • I have 3 years experience in website design.

i’ll provide you:-

  • Responsive page design
  • Mockup page
  • Latest design

.

css3 – Problema com barra de rolagem no css

Tenho uma div main e dentro dela tem duas imagens com position absolute, a div main ta configurada pra seguir a altura do navegador (100vh), Quero que as imagens fiquem escondidas no canto ou seja o overflow-x: hidden, e pra baixo ele quebra a div e continue mostrando a imagem ou seja overflow-y: visible. O problema é que quando o “overflow-x: hidden” ta definido não importa o que eu coloque em overflow-y sempre fica com uma parra de rolagem, preciso de uma solução desaparecer com essa barra de rolagem.

code:

.intro .intro-image{
    width: 57%;
    overflow-x: hidden;
    overflow-y: unset;
    overflow-y: visible;
    position: relative;
}



.intro .intro-image .ilutration-img{
    position: relative;
    margin-top: -250px;
    z-index: 10;

}

.intro .intro-image .ilutration_mockup-img{
    position: absolute;
    top: -125px;
    right: -140px;
    z-index: 11;

}

insira o código aqui

css3 – Level up the CSS

I’m a bit new to CSS, and have been playing with it but now I wonder if there are any tools/websites/libraries that make working with css easier.

I’ve tried SCSS, which so far is amazing. Also tried many websites for generating color gradients, font stacks with size and everything, and some help to create paths using clip path.

And in a bigger scale, I’ve read next css and postcss could help with some tasks (didn’t have time to read what they are for). But I’m not too sure if I’m going the right way, and if there are any important tools I’d be missing.

Question

Are there any neat tools you’d recommend to level up the css, and make life easier?

No Bootstrap please, most of it I don’t like.

I will design or clone responsive wordpress website using betheme for $15

I will design or clone responsive wordpress website using betheme

Hello,

Welcome to my Gig.
Are you looking for a WordPress web developer?

I will create a professional responsive WordPress website using betheme or enfold theme. Complete website before the deadline and speed optimize. I will give you a creative and unique website.

My Services:

  • Install WordPress & premium theme
  • Install the required plugin
  • Demo import
  • Content upload
  • Responsive design
  • Speed optimization
  • Basic SEO
  • Integrate contact from7 / Gravity form / slider revolution
  • Google map
  • Fast delivery
  • 24/7 Available for support
  • And more

Please contact me before placing the order.
Thank you.

.

css3 – Is there a native way to control "sentence start space" in CSS?

Clearly, it has long been a practice to do:

This is a sentence.  This is a new sentence.  This a third sentence.

In other words, double spaces for each new sentence, considerably improving readability.

In HTML, this is (obviously) not possible. If you try the same thing, the rendering is as follows:

This is a sentence. This is a new sentence. This a third sentence.

There are "crazy hacks" like   , but it's both ugly and very impractical.

We could also probably code something that automates this server side, like adding a wherever there is a new sentence, then style this class in CSS to have a margin on the right, but it requires "processing" and again, it doesn't look elegant / right.

Is there really no CSS property called something like phrase-start-margin or something like that? I lost track of CSS functionality somewhere in 2005, so it's been 15 years since I stumbled upon random functionality in both modern HTML, JS and CSS, and as far as I know, it may well exist . I hope so. It’s frankly very strange if it isn’t the case.

Everywhere, the simple spaces make my eyes blur the text and it is very difficult for me to follow. I still wished Silmarillion had used double spaces for new sentences while I was reading it.

css3 – What other framework do you use outside of Bootstrap?

I have seen that Bootstrap is a very good framework that helps to develop the code of a web project faster, I have seen and compared to what they are using pure CSS and it is used in exactly the same way and more summarized using only classes.
Now my question is; If Bootstrap is very good because most of them don't use it, there may be something I don't know … or maybe they are using a better frame than bootstrap.
I would like to know some opinions to focus net on bootstrap or not and use pure css.
Thank you

css – I tried to do a test for a company and I couldn't get it out. Anyone know how to do it? HTML and CSS3 only

Thanks for contributing to StackOverflow in Spanish with an answer!

  • Please make sure answer the question. Provide information and share your research!

But to avoid

  • Ask for help or clarification, or respond to other answers.
  • Make statements based on opinions; Make sure to back them up with references or with your own personal experience.

For more information, check out our tips on writing good answers.