I have a post carousel where i am showing archive post .  &lt;div class="col-md-12"&gt;     &lt;div class="post--small mb-4"&gt;         &lt;img src="assets/images/Layer%2014.png" alt="" class="post__img img-fluid mr-2"&gt;         &lt;div class="post__body"&gt;             &lt;a class="post__title post__title--small text-capitalize mb-3 text-white"&gt;                                         Ahmedabad Investor CampFinal Disscusion                                     &lt;/a&gt;             &lt;p class="post__date post__date--small text-uppercase"&gt;29 may 2019&lt;/p&gt;         &lt;/div&gt;     &lt;/div&gt; &lt;/div&gt;   and CSS  .post__title, .post:link, .post:visited {      font-size: 18px;      font-weight: 500;      color: #fff;      cursor: pointer;      display: block; }  .post__img {      position: relative; }  .post__img::before {      content: "";      display: block;      height: 100%;      position: absolute;      top: 0;      left: 0;      width: 100%;      background-color: rgba(255, 255, 255, .8); }  .post__date {      font-size: 12px;      font-weight: 400;      color: white; }  .post--small {      display: flex; }  .post--small .post__img {      width: 119px; }   I am trying to achieve overlay on images with any extra div , so i used ::before element . I think everything i done is right but this code didn't work .   Please help , Thank you in advance
I want to overlay one image with another using CSS. An example of this is the first image (the background if you like) will be a thumbnail link of a product, with the link opening a lightbox / popup showing a larger version of the image.   On top of this linked image I would like an image of a magnifying glass, to show people that the image can be clicked to enlarge it (apparently this isn't obvious without the magnifying glass).
I'm travelling from Madrid to Brisbane, but I have a 9 hours layover at Dubai Airport. I do not plan to leave the airport, and the connection is with the same airline (Emirates). I'm from El Salvador.    Do I need a transit visa? Parentheses vs. double commas vs. dashes to provide additional detail When do you use commas and when do you use parentheses to provide more detail about something?  For example:   The suspect, Tom Wilson, is now being charged with murder. The suspect (Tom Wilson) is now being charged with murder. John Smith, a member of the jury, agreed with the verdict. John Smith (a member of the jury) agreed with the verdict. The first example, the one about the fox, is the more valid one. The first example (the one about the fox) is the more valid one.   I realize that the first example, the one that uses parentheses, is probably more valid in this case (if anyone has a better example, please include it), but when, if ever, would you favor parentheses?  Update: I realize that dashes are sometimes used for similar situations, so I'd appreciate information on these as well.  For example:   The children—who are wearing shoes—will go on the trip The children, who are wearing shoes, will go on the trip The children (who are wearing shoes) will go on the trip Where does the name of these two famous types of sequences come from?  The article  of Wikipedia says that the geometric sequence is called like this because every term is the geometric mean of its two adjacent terms. Though it is true, it only reduces the question to: why is the geometric mean geometric (in opposition to the arithmetic mean).   Continuing my investigation on , I was told that a square with the same area than a rectangle with sides $a$ and $b$ has their geometric mean $\sqrt{ab}$ for side. That's again totally true, but a square with same perimeter than this rectangle of sides $a$ and $b$ has their arithmetic mean $\frac{a+b}{2}$ for side!  Thus, my question: Who coined these names? And why? Why is the geometric mean more geometric than the arithmetic mean? How to write conditional equations with one-sided curly brackets I want to write a conditional expression such as the following.    What is the best way to express such conditional expressions in Latex? Is there a word for a question asked despite knowing the answer, but meant to elicit a response for the sake of the audience? In journalistic writing I often see writers, correspondents, and interviewers use questions in non-literal ways.  Of course there are rhetorical questions designed to make a point and not meant to literally elicit an answer.   Instead of that, I have in mind when an interviewer asks a correspondent, "why did she not go to the police?" when the interviewer already knows the story and knows the answer to the question, but wants the correspondent to articulate the answer for the audience's benefit.    Is there a commonly used term for this sort of a question?  A "leading" question generally implies an attempt to manipulate the respondent into giving certain responses, which is not exactly the same as what I'm describing. Can a university revoke one's degree for his minor misconduct? Is there a way to access an iteration-counter in Java's for-each loop? Is there a way in Java's for-each loop  for(String s : stringArray) {   doSomethingWith(s); }   to find out how often the loop has already been processed?  Aside from using the old and well-known for(int i=0; i &lt; boundary; i++) - loop, is the construct  int i = 0; for(String s : stringArray) {   doSomethingWith(s);   i++; }   the only way to have such a counter available in a for-each loop? Why does default auto.arima stop at (5,2,5)? The function auto.arima in the forecast package of R is a powerful tool to identify the best ARIMA(p,d,q) model for a given data series. In the   of the function, they report the following:  auto.arima(y, d=NA, max.p=5, max.q=5, max.order=5, max.d=2, start.p=2, start.q=2, ...)   According to the above function it seems that, by default, auto.arima tries to find the best model among all the combination having:   p equal or lower than 5 q equal or lower than 5 d equal or lower than 2 order equal or lower to 5, i.e. p + q + d  ≤ 5.   However, why does the default code stops at these conditions? Is there any particular reason why p, q and d should be equal or lower than 5, 5 and 2 and their sum lower than 5? Why do residuals in linear regression always sum to zero when an intercept is included? I'm taking a course on regression models and one of the properties provided for linear regression is that the residuals always sum to zero when an intercept is included.   Can someone provide a good explanation for why this is the case? Prove that simultaneously diagonalizable matrices commute Two $n\times n$ matrices $A, B$ are said to be simultaneously diagonalizable if there is a nonsingular matrix $S$ such that both $S^{-1}AS$ and $S^{-1}BS$ are diagonal matrices.      a) Show that simultaneously diagonalizable matrices commute: $AB = BA$.      b) Prove that the converse is valid, provided that one of the matrices has no multiple eigenvalues. Is every pair of commuting matrices simultaneously diagonalizable?   My attempt:  a) Let $M=S^{-1}AS$ and $P=S^{-1}BS$, then it follows that $A= S^{-1}MS$ and $B=S^{-1}PS$. Thus $AB =S^{-1}MSS^{-1}PS = S^{-1}MPS = S^{-1}PMS$ (is it wrong that I switched MP to PM?) $=S^{-1}PSS^{-1}MS=BA$.   b) How can I do this? Proving normality of affine schemes One of the exercises in Ravi Vakil's algebraic geometry notes, Ex. $5.4.$I(b), is to show that    $$ \operatorname{Spec}\left(k[x_1, \ldots, x_n]/(x_1^2 + \cdots + x_m^2)\right) $$   is normal, where $k$ is any field of $\operatorname{char}(k)\neq 2$, and $n \geq m \geq 3$.    I have absolutely no idea how to get started on this. Is there anyone that could give a hint as to how one would approach this problem? When I open a window to air out the room, how does the smell disperse? Let's say I'm in a room with some kind of noxious stink, possibly of flatulent nature.  The quickest way to right the world that comes to mind is to open a window.  When I open a window, how do the stank particles leave the room? Python: [Errno 2] No such file or directory: 'lines.txt' I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created &quot;pristine&quot; tty). I have thought this to be as simple as issuing a xinit or maybe a startx however both have failed me. Therefore the question: How to manually run/init/start a Xorg server on a different VT/TTY? here the Longer background story to the question at hand: This is the backgroud and what I have tried already: Looking at man openvt I was able to run a shell on a newly created tty (or vt, cannot tell precisly the different vt&lt;&gt;tty) like this:  $&gt; sudo openvt -s /bin/bash  the -s of causes the direct switch to that new tty/vt on that new tty I wanted to manually start a Xorg server which according to man xinit should start with a minimal xterm application. On the new shell on the switched to tty I (created via openvt) I hence issues this command:  $&gt; su -c 'xinit xterm -display :4 -- :4' - mahr &amp;&gt;/tmp/output  and I receive this output $&gt; cat /tmp/output X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu Current Operating System: Linux scitech 4.15.0-70-generic #79-Ubuntu SMP Tue Nov 12 10:36:11 UTC 2019 x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.0-70-generic root=/dev/mapper/ubuntu--vg-root ro Build Date: 03 June 2019  08:10:35AM xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://www.ubuntu.com/support)  Current version of pixman: 0.34.0     Before reporting problems, check http://wiki.x.org     to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting,     (++) from command line, (!!) notice, (II) informational,     (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: &quot;/home/mahr/.local/share/xorg/Xorg.4.log&quot;, Time: Thu Nov 28 10:57:53 2019 (==) Using system config directory &quot;/usr/share/X11/xorg.conf.d&quot; (EE)  Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) (EE)  (EE)  Please consult the The X.Org Foundation support       at http://wiki.x.org  for help.  (EE) Please also check the log file at &quot;/home/mahr/.local/share/xorg/Xorg.4.log&quot; for additional information. (EE)  (EE) Server terminated with error (1). Closing log file.  Session terminated, terminating shell...xinit: giving up xinit: unable to connect to X server: Connection refused xinit: unexpected signal 2  ...terminated. I've heard you can start with pikachu in pokemon go instead of the 3 standard starters. How would one do this? Is this even possible? Nouns can modify nouns: cat food, coffee cup, gold ring, laser surgery, flood insurance. It seems to me there are even cases where a noun sounds better than the corresponding adjective: sociology papers sounds a bit better than sociological papers.  Some noun-noun combinations don&rsquo;t work. You wouldn't say America gangsters or measurement spoons or greed crimes. If you spilled water on your keyboard you probably wouldn't call it a keyboard spill or even a water spill.  Are there rules that tell which combinations are acceptable? What is the emergency phone number in different countries? A 2x2 matrix $M$ exists. Suppose $M^3=0$ show that (I want proof) $M^2=0$ I am thinking of buying a digital SLR camera. What things should I be looking for? When should I use "a" versus "an" in front of a word beginning with the letter h?