Questions tagged as 'css3'

2
answers

Give a specific width to an edge

I want to make a border with a specific size in a div but I do not get how to do it, because if I put border-top: 1px solid #000; the edge would be covering the whole size of the container and I want to place it in half or to my li...
asked by 18.06.2018 / 22:58
2
answers

___ ___ As erkimt make the main image occupies 100% of width and height ______ qstntxt ___

I would like to know how to do so that the main image of a page has a high of 100% of the browser mainly without the need to apply pixels.

I can do it by applying the pixels but when viewing it from another pc or a monitor with different screen resolutions this one does not look the same since it had it pre-defined for a specific resolution.

I want to achieve something like this See Here , that As you can see when the page is opened there is a main image and if you see it from another device you can still see the same without any distortion or the image is cut off. Eye, the page is not mine I just put it as an example.

My code:

%pre% %pre%
    
______ azszpr174982 ___

CSS has a set of properties that do exactly what you're looking for

%code% causes the image to be applied to the entire container without showing the leftovers on the sides or up and down

%code% causes the origin of the image to be the vertical and horizontal center

%pre% %pre%
    
______ azszpr174984 ___

if you apply this code to a div:

%pre%

I should give you the height and width of the page at that time, also if you put a background image to the div you can put:

%pre%     
___

I would like to know how to do so that the main image of a page has a high of 100% of the browser mainly without the need to apply pixels. I can do it by applying the pixels but when viewing it from another pc or a monitor with different scre...
asked by 22.06.2018 / 06:18
2
answers

How to make a code box with style or color-scheme

Hi StackOverFlow colleagues, some time ago I wanted to make this style of code box but I really do not know how to start, or what library I can use to do this. Here I leave an image of what I want to put on my website. I am attentive...
asked by 28.05.2018 / 19:29
2
answers

Form does not send emails

I created a blog with html5, css3 and php. In the contact page php I have put a form so that you can send me an email with a comment, but I have done some test and I do not receive anything. I have put two lines to show me if there are errors in...
asked by 07.09.2018 / 11:56
1
answer

Text does not become bold

I am writing a paragraph and on the page I am using Bootstrap 4 and css3, but at the moment of wanting to make a part of the paragraph in bold it is not done with <b> or with <strong> .texto{ margin-top: 30px;...
asked by 24.05.2018 / 01:26
1
answer

Include bootstrap with composer

I am including bootstrap with the composer package in the following way in the composer require twbs/bootstrap:4.1.1 terminal but I would like to include it in the layout since it does not work when adding some sort of bootstrap     
asked by 06.05.2018 / 05:40
2
answers

Why, when adding the opacity effect, is it hidden behind other elements?

Exact example of what happens here Let me explain, if you see the example you can notice that they are just two simple animations, two images that come up spinning around, and a text that begins to show through opacity. In this final par...
asked by 01.03.2018 / 21:04
2
answers

keep the content centered on a defined layout?

LAYOUT ACTUAL I have an already defined layout which consists of a container (.container) that centers all the content of the page, of the rows (.row) which help to create horizontal divisions inside the container and the columns that help...
asked by 06.02.2018 / 03:01
2
answers

Place inputs vertically using flexbox

Good I created a small contact form and I do not understand why the inputs not are placed by columns. To try that I use flexbox , specifically to the container of inputs with identifier id="Fila3Formulario" , I dec...
asked by 28.01.2018 / 14:03
1
answer

How to center a menu

Hello everyone, I am trying to focus these div but I could not and I would appreciate your help. * { margin:0px; padding: 0px; } #header { margin:auto; width:600px; font-family:Arial, Helvetica, sans-serif; } u...
asked by 03.02.2018 / 18:28