-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add background #1
base: dev
Are you sure you want to change the base?
Conversation
@@ -3,4 +3,34 @@ | |||
} | |||
.mb-20 { | |||
margin-bottom: 20px | |||
} | |||
body { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше стили тегов в самый верх помечать, а классы ниже уже
let num = Math.floor(Math.random() * (imgArr.length)); | ||
let imageName = "url('static/background/" + imgArr[num]+ "')"; | ||
// let block = document.getElementsByClassName('bg-image'); | ||
// block.style.backgroundImage = imageName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Комменты:(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это я хотел проконсультироваться у тебя, почему не работает.
@@ -0,0 +1,11 @@ | |||
function changeBackgroundImage() { | |||
let imgArr = ["1.bmp","2.bmp","3.bmp","4.bmp","5.bmp"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bmp дорогие, почему не jpeg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А они вложены в репозиторий?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Да, уже в dev лежат. Да, папка весит 40 Мб.
width: 100%; | ||
text-align: center; | ||
} | ||
li a{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^^
Ты не понял. Я тебя не техническую сторону спрашиваю, а эстетическую. Скриншот приложил. |
Так ты пиши тогда хотя бы дескрипшене пулл-рекветса, что это ворк-ин-прогресс, Дескрипшен пустой |
Текст на белый на всех фотках изменен? На многих фотках будет просто ничего не видно. Например на Мне с точки зрения визуала все ок, интерфейс свою функцию «Быстро дать доступ к информации» выполняет, с фотками это будет эстетичнее и прикольнее. В блюре фотографии на 8% сильно не уверен, мне кажется, стоит либо жестко блюрить (25-40), либо уже вообще не блюрить. Создается эффект некачественного изображения Мне кажется лучше проконсультироваться у @Sophushka8 |
Нет, специально подложил прозрачную тёмную подложку. С её помощью всё видно. |
No description provided.