Answer the question
In order to leave comments, you need to log in
How to make a request with a time condition?
In general, the situation, I have a table:
CREATE TABLE IF NOT EXISTS `notification` (
`id` int(7) NOT NULL AUTO_INCREMENT,
`to_id` int(15) NOT NULL,
`set_time_in` time NOT NULL DEFAULT '00:00:00',
`set_time_out` time NOT NULL DEFAULT '00:00:00',
`stop` time NOT NULL DEFAULT '00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
Answer the question
In order to leave comments, you need to log in
<div class="container">
<div class="black-block">
<div class="white-block">
</div>
</div>
</div>
.black-block{
background-color: rgba(0,0,0,.95);
width: 180px;
height: 300px;
position: relative; /* ВАЖНО */
display: block;
}
.white-block{
background-color: rgba(255, 255, 255, .95);
width: 180px;
height: 180px;
position: absolute;
bottom: 0;
right: 0;
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question